What are the last two digits of 2 5 2 9 3 8 6 4 ?
Bonus: What are the last four digits?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We can use the Chinese remainder theorem to solve the problem. Let us consider the last three digits of 2 5 2 9 3 8 6 4 . Note that 1 0 0 0 = 2 3 × 5 3 = 8 × 1 2 5 . Then we have:
2 5 2 9 3 8 6 4 2 5 2 9 3 8 6 4 ⟹ 2 5 2 9 3 8 6 4 8 n + 1 ⟹ n 2 5 2 9 3 8 6 4 ⟹ 2 5 2 9 3 8 6 4 ≡ 0 ( m o d 1 2 5 ) ≡ ( 2 4 + 1 ) 2 9 3 8 6 4 ≡ 1 ( m o d 8 ) ≡ 8 n + 1 ≡ 0 ( m o d 1 2 5 ) ≡ 7 8 ≡ 8 ( 7 8 ) + 1 ≡ 6 2 5 ( m o d 1 0 0 0 ) ≡ 2 5 ( m o d 1 0 0 ) where n is an integer.
Well this is how I did it! @Agent T
Nice solution @Chew-Seong Cheong sir!
Problem Loading...
Note Loading...
Set Loading...
In fact all positive integer powers of 2 5 end in the digits 2 5 . This is easy to prove by induction; say 2 5 k ≡ 2 5 ( m o d 1 0 0 )
(which clearly holds for k = 1 ). Then 2 5 k + 1 ≡ 2 5 × 2 5 = 6 2 5 ≡ 2 5 ( m o d 1 0 0 )
which proves the claim.