A 3 … A n − 1 A n A 1 A 2 A 1 A 2 A 3 … A n − 1 A n = 1 7 1 2
What is the smallest value of n > 6 such that there exist solutions to the above equation?
Remark : A 1 A 2 A 3 … A n − 1 A n is a n -digit number. When n = 6 , there exist solutions to the above equation. Try it !
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 A 2 and y = A 3 A 4 … A n − 1 A n . This means that A 3 … A n − 1 A n A 1 A 2 A 1 A 2 A 3 … A n − 1 A n = 1 7 1 2 is equivalent to 1 0 0 y + x 1 0 n − 2 x + y = 1 7 1 2 which implies that x y = 1 1 8 3 1 7 ( 1 0 n − 2 ) − 1 2 .
Since x is a 2-digit number, g cd ( 1 7 ( 1 0 n − 2 ) − 1 2 , 1 1 8 3 ) 1 1 8 3 < 1 0 0 . Note that 1 1 8 3 = 7 ( 1 3 2 ) . Now x ∈ { 7 , 1 3 , 9 1 } and hence g cd ( 1 7 ( 1 0 n − 2 ) − 1 2 , 1 1 8 3 ) = 1 6 9 , 9 1 and 1 3 respectively. This means that 1 7 ( 1 0 n − 2 ) ≡ 1 2 ( m o d 1 6 9 ) , 1 7 ( 1 0 n − 2 ) ≡ 1 2 ( m o d 9 1 ) or 1 7 ( 1 0 n − 2 ) ≡ 1 2 ( m o d 1 3 ) .
Suppose x = 1 3 . Then 1 7 ( 1 0 n − 2 ) ≡ 1 2 ( m o d 9 1 ) . This means that 1 7 ( 1 0 n ) ≡ 1 2 × 9 ≡ 1 7 ( m o d 9 1 ) . Thus 1 0 n ≡ 1 ( m o d 9 1 ) . By checking, 1 0 n ≡ 1 ( m o d 9 1 ) for n ≤ 5 and 1 0 6 ≡ 1 ( m o d 9 1 ) . Hence, 1 0 6 k ≡ 1 ( m o d 9 1 ) . The desired value of n is 1 2 .
Suppose x = 9 1 . Similar argument leads to the same answer.
Suppose x = 7 . Similar argument leads to 1 0 n ≡ 1 ( m o d 1 6 9 ) , which means that the smallest value of n is 78.