Exercise 2.1.28 (Last digit of $3^{400}$)

What is the last digit in the ordinary decimal representation of 3 400 ?

Answers

Proof. We search the order of 3 modulo 10 . By Euler’s theorem, since 3 10 = 1 ,

3 ϕ ( 10 ) 1 ( mod 10 ) ,

where ϕ ( 10 ) = 4 . So 3 4 1 ( mod 10 ) (and 3 2 1 1 ( mod 10 ) (indeed 2 4 = 81 1 ( mod 10 ) ).

Moreover 3 4 1 ( mod 10 ) implies 3 400 = ( 3 4 ) 100 1 ( mod 10 ) . Therefore the last digit of 3 400 is 1 . □

User profile picture
2024-07-31 08:25
Comments