All Questions Topic List
Algebra Questions
Previous in All Question Next in All Question
Previous in Algebra Next in Algebra
Question Number 21230 by Tinkutara last updated on 16/Sep/17
Foreachpositiveintegern,consider thehighestcommonfactorhnofthetwo numbersn!+1and(n+1)!.Forn<100, findthelargestvalueofhn.
Answered by dioph last updated on 17/Sep/17
asthenumbersfrom2untilndonot dividen!+1,hniseither1orn+1. hn=n+1⇔n!+1=k(n+1) ⇔n!≡−1(modn+1) usingWilsonstheorem,thishappens onlywhenn+1isprime. Thelastprimebefore100is97so for96!+1and97!wehavehn=97
Commented byTinkutara last updated on 17/Sep/17
HowdoyouusedWilson′stheorem?
Terms of Service
Privacy Policy
Contact: info@tinkutara.com