More fun in 2015

Find the smallest positive integer n n such that 2015 n 2015n has the same last three digits as n n .


The answer is 500.

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.

1 solution

Jake Lai
May 21, 2015

We have 2015 n 15 n n ( m o d 1000 ) 2015n \equiv 15n \equiv n \pmod{1000} and thus 15 n n = 14 n = 1000 k 15n-n = 14n = 1000k for some positive integral k k .

The smallest solution is then 14 n = 1000 k = lcm ( 14 , 1000 ) 14n = 1000k = \text{lcm}(14,1000) or n = 500 n = 500 .

You can also do the following:

2015 n n ( m o d 1000 ) 15 n n ( m o d 1000 ) 14 n 0 ( m o d 1000 ) : 7 2 n 0 ( m o d 5 3 × 2 3 ) : 2 n 0 ( m o d 5 3 × 2 2 ) n 0 ( m o d 500 ) \begin{aligned}2015n\equiv n\pmod{1000}&\iff 15n\equiv n\pmod{1000}\\&\iff 14n\equiv 0\pmod{1000}\\&\overset{:7}{\iff} 2n\equiv 0\pmod{5^3\times 2^3}\\&\overset{:2}{\iff} n\equiv 0\pmod{5^3\times 2^2}\\&\iff n\equiv 0\pmod{500}\end{aligned}

The division by 7 7 is valid since gcd ( 7 , 1000 ) = 1 \gcd(7,1000)=1 and the division by 2 2 "reduces" the modulus.

Prasun Biswas - 6 years ago

Exactly! (+1)

Otto Bretscher - 6 years ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...