login
a(1)=0, a(n+1) is the smallest nonprime with sum of digits > sum of digits of a(n).
1

%I #4 Mar 30 2012 18:52:32

%S 0,1,4,6,8,9,28,38,39,49,68,69,88,98,99,289,299,399,589,689,699,799,

%T 899,999,2899,3899,3999,5899,5999,6999,7999,9899,9999,19999,29999,

%U 39999,58999,68999,69999,88999,89999,99999,299899,299999,399999,499999,689999

%N a(1)=0, a(n+1) is the smallest nonprime with sum of digits > sum of digits of a(n).

%e 0, 1(1>0), 4(4>1), 6(6>4), 8(8>6), 9(9>8), 28(2+8>9), 38(3+8>2+8), 39(3+9>3+8), etc.

%Y Cf. A067954.

%K nonn,base

%O 1,3

%A _Juri-Stepan Gerasimov_, Feb 13 2009

%E Extended by _Charles R Greathouse IV_, Mar 25 2010