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,considerthehighestcommonfactorhnofthetwonumbersn!+1and(n+1)!.Forn<100,findthelargestvalueofhn.
Answered by dioph last updated on 17/Sep/17
asthenumbersfrom2untilndonotdividen!+1,hniseither1orn+1.hn=n+1⇔n!+1=k(n+1)⇔n!≡−1(modn+1)usingWilsonstheorem,thishappensonlywhenn+1isprime.Thelastprimebefore100is97sofor96!+1and97!wehavehn=97
Commented by Tinkutara last updated on 17/Sep/17
HowdoyouusedWilson′stheorem?
Terms of Service
Privacy Policy
Contact: info@tinkutara.com