Maths Olympiad Prep

Library / /4 of 32

Number theory Difficulty 4.7 AIME Find the answer Netherlands

The crab of a positive integer is the number you get when you write down its digits in reverse order. For example, the crab of 82678267 equals 76287628 and the crab of 1562015620 equals 26512651 (because the leading zero is always dropped).
What is the smallest positive integer nn such that nn minus the crab of nn equals 1234567812345678?

A number or a short expression. Spacing and $ signs are ignored.

Solution

2040608020406080

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.