Problem

Source: 2010 Saudi Arabia IMO TST III p3

Tags: number theory, Digit



Consider the arithmetic sequence $8, 21,34,47,....$ a) Prove that this sequence contains infinitely many integers written only with digit $9$. b) How many such integers less than $2010^{2010}$ are in the se­quence?