Skip to main content
OlympiadHQ

Browse · MathNet

Print

Estonian Mathematical Olympiad

Estonia number theory

Problem

Find all natural numbers whose last digit is not zero and deleting the first digit of which gives a number exactly 25 times smaller.
Solution
Let be the desired number, and let be the number obtained by deleting the first digit. Since the last digit of the product is not 0, it can only be 5. Since has three digits, it cannot be the number itself, so the number must have more digits. Consider a digit in both and . Then in the product is obtained from multiplying all lower-order digits by 25 and adding the last digit of the number to the corresponding digit in the product. If is even then the corresponding digit in the product of lower order digits by 25 is , i.e. an even number, while in the case of odd , it is or , i.e. again an even number. Since the tens digit of is 2, the tens digit of and must be either 2 or 7. If it is 2 and does not have more digits, then which satisfies the conditions of the problem. If there are more digits in the number , then the hundreds digit of the numbers and must be 6 or 1, because the hundreds digit of the intermediate result of multiplying lower-order numbers is 6. Now cannot be because the product has 5 digits. Since the thousands digit 5 of this product is odd, it is not possible to add more digits to the number . If the hundreds digit is 1 then we get the possibility and , which satisfies the conditions of the problem, and since the thousands digit in this number is odd, it is not possible to add more digits to the number here either. If the tens digit of and is 7, then cannot be because the product has 4 digits. Since the hundreds digit of is 8, the hundreds digit of can be 8 or 3. Again cannot be because the product has 5 digits, and since the thousands digit 1 of the product is odd, it is not possible to add more digits to the number . If the hundreds digit of is 3 we get and , which satisfies the conditions of the problem. Since the thousands digit of the product is odd, it is not possible to add more digits to the number here either. Thus only 625, 3125 and 9375 satisfy the conditions of the problem.

---

Alternative solution.

Let be the desired number. Let the first digit of this number be and the number formed from the remaining digits be , with the number having digits. Then , implying . Thus, the number is divisible by the number 24. Consequently, the number must be divisible by the numbers and . Since the number is not divisible by 3, the number must be divisible by 3, which leaves the possibilities and . If , then must be divisible by . Therefore and we get . Since last digit of is not zero, we have , whence . If , then must be divisible by . Therefore and we get . Since the last digit is not zero, we have , whence . * If , then must be divisible by . Therefore and we get . Since the last digit of is not zero, we have , whence .
Final answer
625, 3125, 9375

Techniques

Factorization techniquesIntegers