|
|
A045646
|
|
Alternative version of A006050.
|
|
5
|
|
|
|
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
|
|
|
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
|
|
|
KEYWORD
|
nonn,base,nice
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Next term is 1 followed by 2222222222222222222222 9s.
|
|
STATUS
|
approved
|
|
|
|