A and B are distinct two-digit positive integers. The four-digit number X is formed by writing down the number B followed by the number A, and the four-digit number Y is formed by writing down the number A followed by the number B.
What is the smallest positive integer that does not divide for any values of A and B?
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.
The 2 digit numbers are A , B
The 4 digit numbers A B and B A can be witten as,
A B = 1 0 0 A + B
B A = 1 0 0 B + A
we get,
∣ A B − B A ∣ = ∣ ( 1 0 0 A + B ) − ( 1 0 0 B + A ) ∣ = 9 9 ∣ A − B ∣
now ∣ A − B ∣ can take values from 1 to 8 9 (as A and B are 2 digit numbers)
also if ∣ A − B ∣ = 1 0 , 3 0 ,
9 9 ∣ A − B ∣ is divisible by 9 0
9 1 = 1 3 × 7 is coprime to 9 9 and thus is the smallest number that doesn't divide ∣ A B − B A ∣ for any A , B