2 3 4 5 6
What are the last three digits of the number above?
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.
Nicely done. Can you generalize this for 2 3 4 . . n ( m o d 1 0 0 0 ) ?
2 3 4 … n ≡ 3 5 2 ( m o d 1 0 0 0 ) for any n ≥ 5 . No matter what height it is (as long as n ≥ 5 ) 4 … n will still be 0 m o d 8 and − 1 m o d 5
@Challenge Master 2 3 . . n ≡ 3 5 2 ( m o d 1 0 0 0 ) .
brilliant!!!!!!!!!!!
What does mean ϕ in your solution?
I am not quite familiar with Euler's totient function and Chinese Remainder Theorem but this is pretty much the way I solved (with all due respect to sir Patrick Corn):
5 6 ≡ 1 ( m o d 2 ) → 4 5 6 = 4 2 k + 1 ≡ 0 ( m o d 4 )
→ 3 4 5 6 = 8 1 k → 2 3 4 5 6 = 2 8 1 k
= A = ( 2 1 0 × 2 1 0 × 2 1 0 × 2 1 0 × 2 1 0 × 2 1 0 × 2 1 0 × 2 1 0 × 2 ) k
→ A ≡ 2 4 4 × 2 4 4 × 2 ≡ 7 7 6 × 7 7 6 × 2 ≡ ( 3 5 2 ) ( m o d 1 0 0 0 )
I know my solution is not even close as elegant to sir Patrick's solution but I just wanted to share other solutions.Peace out!
You have done well. His answer mathematically sounds well.But great job
Problem Loading...
Note Loading...
Set Loading...
4 5 6 is 0 mod 8 and − 1 mod 5 , hence 2 4 mod 4 0 .
3 2 4 is 3 2 4 ≡ 1 mod 4 , and 3 2 4 ≡ 3 4 ≡ 6 mod 2 5 , so it's 8 1 mod 1 0 0 . Since ϕ ( 1 0 0 ) = 4 0 , 3 4 5 6 ≡ 3 2 4 ≡ 8 1 ( m o d 1 0 0 ) .
Finally, we want 2 3 4 5 6 mod 1 0 0 0 . This is 0 mod 8 , and it's congruent to 2 8 1 mod 1 2 5 by the above computations, since ϕ ( 1 2 5 ) = 1 0 0 .
Some easy computations yield 2 8 1 ≡ 1 0 2 mod 1 2 5 , so we get a final answer of 3 5 2 by the Chinese Remainder Theorem.