login
A156673
a(1)=0, a(n+1) is the smallest nonprime with sum of digits > sum of digits of a(n).
1
0, 1, 4, 6, 8, 9, 28, 38, 39, 49, 68, 69, 88, 98, 99, 289, 299, 399, 589, 689, 699, 799, 899, 999, 2899, 3899, 3999, 5899, 5999, 6999, 7999, 9899, 9999, 19999, 29999, 39999, 58999, 68999, 69999, 88999, 89999, 99999, 299899, 299999, 399999, 499999, 689999
OFFSET
1,3
EXAMPLE
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.
CROSSREFS
Cf. A067954.
Sequence in context: A066307 A287198 A099071 * A073866 A372408 A202260
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Extended by Charles R Greathouse IV, Mar 25 2010
STATUS
approved