cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A006050 Smallest number of additive persistence n.

Original entry on oeis.org

0, 10, 19, 199, 19999999999999999999999
Offset: 0

Views

Author

Keywords

Comments

The next term a(5) is 1 followed by 2222222222222222222222 9's.

References

  • Meimaris Antonios, On the additive persistence of a number in base p, Preprint, 2015.
  • H. J. Hindin, The additive persistence of a number, J. Rec. Math., 7 (No. 2, 1974), 134-135.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Programs

  • Mathematica
    lst = {0, 10}; Do[AppendTo[lst, 2*10^((lst[[-1]] - 1)/9) - 1], {3}]; lst (* Arkadiusz Wesolowski, Oct 17 2012 *)
    Join[{0},NestList[2*10^((#-1)/9)-1&,10,3]] (* Harvey P. Dale, May 08 2020 *)

Formula

For n>1 a(n) = 2*10^((a(n-1)-1)/9)-1.