|
| |
|
|
A045646
|
|
Alternative version of A006050.
|
|
3
| | |
|
|
|
OFFSET
| 0,2
|
|
|
COMMENTS
| This is also the smallest n such that digit sum of n = previous term [From Dominick Cancilla (dcancilla1(AT)gmail.com), 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]] (* From Harvey P. Dale, Sep 20 2011 *)
|
|
|
CROSSREFS
| Cf. A003001, A006050.
Sequence in context: A121725 A110368 A006050 * A023916 A172503 A107859
Adjacent sequences: A045643 A045644 A045645 * A045647 A045648 A045649
|
|
|
KEYWORD
| nonn,base,nice
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
|
|
EXTENSIONS
| Next term is 1 followed by 2222222222222222222222 9s.
|
| |
|
|