For-each-positive-integer-n-consider-the-highest-common-factor-h-n-of-the-two-numbers-n-1-and-n-1-For-n-lt-100-find-the-largest-value-of-h-n- Tinku Tara June 4, 2023 Algebra 0 Comments FacebookTweetPin 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 FacebookTweetPin Post navigation Previous Previous post: Let-p-q-be-prime-numbers-such-that-n-3pq-n-is-a-multiple-of-3pq-for-all-positive-integers-n-Find-the-least-possible-value-of-p-q-Next Next post: Question-21232 Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Save my name, email, and website in this browser for the next time I comment.