MathDB
even-steven and oddball integers

Source: Dutch NMO 2017 p1

September 7, 2019
number theoryDigits

Problem Statement

We consider positive integers written down in the (usual) decimal system. Within such an integer, we number the positions of the digits from left to right, so the leftmost digit (which is never a 00) is at position 11. An integer is called even-steven if each digit at an even position (if there is one) is greater than or equal to its neighbouring digits (if these exist). An integer is called oddball if each digit at an odd position is greater than or equal to its neighbouring digits (if these exist). For example, 31223122 is oddball but not even-steven, 77 is both even-steven and oddball, and 123123 is neither even-steven nor oddball. (a) Prove: every oddball integer greater than 99 can be obtained by adding two oddball integers. (b) Prove: there exists an oddball integer greater than 99 that cannot be obtained by adding two even-steven integers.