A 2 A 3 … A n − 1 A n A 1 A 1 A 2 A 3 … A n − 1 A n = 1 7 1 2
What is the smallest value of n such that there exists solutions to the above equation?
Remark : You may try a related problem here .
This question is part of the set Shifting the numbers .
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.
Problem Loading...
Note Loading...
Set Loading...
Let x = A 1 and y = A 2 A 3 … A n − 1 A n . This means that A 2 … A n − 1 A n A 1 A 1 A 2 A 3 … A n − 1 A n = 1 7 1 2 is equivalent to 1 0 y + x 1 0 n − 1 x + y = 1 7 1 2 which implies that x y = 1 0 3 1 7 ( 1 0 n − 1 ) − 1 2 .
Since 103 is a prime number, 1 7 ( 1 0 n − 1 ) − 1 2 is a multiple of 103. This means that 1 7 ( 1 0 n − 1 ) ≡ 1 2 ( m o d 1 0 3 ) . Now 1 7 ( 1 0 n ) ≡ 1 2 0 ≡ 1 7 ( m o d 1 0 3 ) . Thus 1 0 n ≡ 1 ( m o d 1 0 3 ) .
Note that ϕ ( 1 0 3 ) = 1 0 2 = ( 2 ) ( 3 ) ( 1 7 ) and hence 1 0 1 0 2 ≡ 1 ( m o d 1 0 3 ) . Now, 1 0 n ≡ 1 ( m o d 1 0 3 ) if n ∣ ∣ 1 0 2 . By checking, 1 0 n ≡ 1 ( m o d 1 0 3 ) for n ∈ { 2 , 3 , 6 , 1 7 } . This means that 1 0 n ≡ 1 ( m o d 1 0 3 ) for n ≤ 3 3 . Finally, 1 0 3 4 ≡ 1 ( m o d 1 0 3 ) . Hence, 1 0 3 4 k ≡ 1 ( m o d 1 0 3 ) . The desired value of n is 3 4 .