login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A045646
Alternative version of A006050.
5
1, 10, 19, 199, 19999999999999999999999
OFFSET
0,2
COMMENTS
This is also the smallest n such that digit sum of n = previous term. - Dominick Cancilla, Aug 09 2010
REFERENCES
H. J. Hindin, The additive persistence of a number, J. Rec. Math., 7 (No. 2, 1974), 134-135.
LINKS
N. J. A. Sloane, The persistence of a number, J. Recreational Math., 6 (1973), 97-98.
FORMULA
For n > 1, a(n) = 2*10^((a(n-1)-1)/9) - 1.
MATHEMATICA
Join[{1}, NestList[2*10^((#-1)/9)-1&, 10, 3]] (* Harvey P. Dale, Sep 20 2011 *)
CROSSREFS
Sequence in context: A121725 A110368 A006050 * A334137 A212594 A255529
KEYWORD
nonn,base,nice
EXTENSIONS
Next term is 1 followed by 2222222222222222222222 9s.
STATUS
approved