Problem:
Let be a given positive integer. A sequence of positive integers is such that , for , is obtained from by adding some nonzero digit of . Prove that
(a) the sequence has an even number;
(b) the sequence has infinitely many even numbers.
Solution
Solution:
(a) Let us assume that there are no even numbers in the sequence. This means that is obtained from , by adding a nonzero even digit of to , for each .
Let be the left most even digit in which may be taken in the form
where are odd digits ; are even or odd; and odd, .
Since each time we are adding at least 2 to a term of the sequence to get the next term, at some stage, we will have a term of the form
where or . Now we are forced to add to to get , as it is the only even digit available. After at most four steps of addition, we see that some next term is of the form
where replaces of , , , or . But has no nonzero even digit contradicting our assumption. Hence the sequence has some even number as its term.
(b) If there are only finitely many even terms and is the last term, then the sequence is obtained in a similar manner and hence must have an even term by (a), a contradiction. Thus has infinitely many even terms.