Let be the greatest number such that
is an integer.
Find in modulo 1000.
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.
Notice how n does not have to be an integer. Therefore for those of you who used LTE... you did all that for nothing.
The greatest possible n is when 3 n = 8 0 1 4 1 0 0 ! − 8 0 1 1 1 0 0 ! Therefore we need to find this in modulo 1000.
8 0 1 4 1 0 0 ! − 8 0 1 1 1 0 0 ! ≡ 1 4 1 0 0 ! − 1 1 1 0 0 ! (mod 1000)
Since g c d ( 1 0 0 0 , 1 1 ) = 1 , and ϕ ( 1 0 0 0 ) = 4 0 0 , this implies that 1 1 1 0 0 ! ≡ 1 (mod 1000) .
We just need to fine 1 4 1 0 0 ! in mod 1000. To do this, we use the Chinese Remainder Theorem, splitting mod 1000 to mod 8 and mod 125.
Obviously 1 4 1 0 0 ! ≡ 0 (mod 8) .
Since ϕ ( 1 2 5 ) = 1 0 0 ⟹ 1 4 1 0 0 ! ≡ 1 (mod 125)
By CRT, we get that 1 4 1 0 0 ! ≡ 3 7 6 (mod 1000)
This implies that 1 4 1 0 0 ! − 1 1 1 0 0 ! ≡ 3 7 6 − 1 ≡ 3 7 5