Question and Answers Forum

All Questions      Topic List

Algebra Questions

Previous in All Question      Next in All Question      

Previous in Algebra      Next in Algebra      

Question Number 214916 by Spillover last updated on 23/Dec/24

Answered by A5T last updated on 23/Dec/24

2017^(2017^(2017) ) ≡1^(2017^(2017) ) =1(mod 16)  2017^(2017^(2017) ) ≡142^(2017^(2017) ) (mod 625)  φ(625)=500  2017^(2017) ≡52(mod 125); 2017^(2017) ≡1(mod 4)  ⇒2017^(2017) =125a+52=4b+1  ⇒125a+52≡1(mod 4)⇒a≡1(mod 4)⇒a=4c+1  ⇒2017^(2017) =125(4c+1)+52=500c+177  ⇒2017^(2017^(2017) ) ≡142^(177) ≡27(mod 625)  ⇒2017^(2017^(2017) ) =625d+27=16e+1  ⇒625d+27≡1(mod 16)⇒d≡6(mod16)  ⇒d=16f+6⇒625d+27=625(16f+6)+27  ⇒2017^(2017^(2017) ) ≡10000f+3777  ⇒Last 4 digits of 2017^(2017^(2017) ) =3777

201720172017120172017=1(mod16)20172017201714220172017(mod625)ϕ(625)=5002017201752(mod125);201720171(mod4)20172017=125a+52=4b+1125a+521(mod4)a1(mod4)a=4c+120172017=125(4c+1)+52=500c+17720172017201714217727(mod625)201720172017=625d+27=16e+1625d+271(mod16)d6(mod16)d=16f+6625d+27=625(16f+6)+2720172017201710000f+3777Last4digitsof201720172017=3777

Answered by Spillover last updated on 26/Dec/24

  Notice     2017 mod φ(φ(10000))  = 2017 mod 1600  = 417  Thus     2017²⁰¹⁷ mod φ(10000)  = 2017⁴¹⁷ mod 4000  = 2177  Hence     2017^(2017²⁰¹⁷) mod 10000  = 2017²¹⁷⁷ mod 10000  = 3777

Notice 2017 mod φ(φ(10000)) = 2017 mod 1600 = 417 Thus 2017²⁰¹⁷ mod φ(10000) = 2017⁴¹⁷ mod 4000 = 2177 Hence 2017^(2017²⁰¹⁷) mod 10000 = 2017²¹⁷⁷ mod 10000 = 3777

Commented by MathematicalUser2357 last updated on 31/Dec/24

He leaved with a blank comment to edit in the future!

Terms of Service

Privacy Policy

Contact: info@tinkutara.com