a_{n+1} = a_n+s(a_n), whereas s(a)=sum of digits of a
Source: JBMO 2008 Shortlist N3
October 14, 2017
sum of digitsJBMOnumber theory
Problem Statement
Let denote the sum of digits of a given positive integer a. The sequence of positive integers is such that for each positive integer . Find the greatest possible n for which it is possible to have .