Browse · MathNet
PrintBulgarian National Mathematical Olympiad
Bulgaria number theory
Problem
Do there exist 6-digit numbers of the form , , such that difference between the number, formed by the last three digits, and the number, formed by the first three digits, is equal to 4?
Solution
If satisfies the second condition, then and . It follows that
So, we are looking for 3-digit numbers such that for . Using that , we get for .
1. Let . Then . On the other hand, , a contradiction.
2. Let . Then . On the other hand, , a contradiction.
3. Let . Then . On the other hand, , a contradiction.
4. Let . Then . On the other hand, and hence . If , then , and if , then , a contradiction.
5. Let . Since , then . But implies , a contradiction.
6. Let . Since , then . The inequality implies . Moreover and so . Since the order of 2 modulo 11 is equal to 10, it follows that , a contradiction to .
Finally, if is an even number, then 4 divides or has an odd divisor. Thus the problem reduces to one of above cases.
Answer. There do not exist 6-digit numbers with the given properties.
So, we are looking for 3-digit numbers such that for . Using that , we get for .
1. Let . Then . On the other hand, , a contradiction.
2. Let . Then . On the other hand, , a contradiction.
3. Let . Then . On the other hand, , a contradiction.
4. Let . Then . On the other hand, and hence . If , then , and if , then , a contradiction.
5. Let . Since , then . But implies , a contradiction.
6. Let . Since , then . The inequality implies . Moreover and so . Since the order of 2 modulo 11 is equal to 10, it follows that , a contradiction to .
Finally, if is an even number, then 4 divides or has an odd divisor. Thus the problem reduces to one of above cases.
Answer. There do not exist 6-digit numbers with the given properties.
Final answer
No, there do not exist such six-digit numbers.
Techniques
Fermat / Euler / Wilson theoremsMultiplicative orderFactorization techniquesTechniques: modulo, size analysis, order analysis, inequalities