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 ) is at position .
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, is oddball but not even-steven, is both even-steven and oddball, and is neither even-steven nor oddball.
(a) Prove: every oddball integer greater than can be obtained by adding two oddball integers.
(b) Prove: there exists an oddball integer greater than that cannot be obtained by adding two even-steven integers.