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.

A098727 Consider the sequence {b(n), n >= 1} of digits of the natural (or counting) numbers: 1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0... (A007376); a(n) = b(n) + n.

Original entry on oeis.org

2, 4, 6, 8, 10, 12, 14, 16, 18, 11, 11, 13, 14, 15, 17, 17, 20, 19, 23, 21, 26, 23, 29, 25, 32, 27, 35, 29, 38, 32, 31, 34, 34, 36, 37, 38, 40, 40, 43, 42, 46, 44, 49, 46, 52, 48, 55, 50, 58, 53, 51, 55, 54, 57, 57, 59, 60, 61, 63, 63, 66, 65, 69, 67, 72, 69, 75, 71, 78, 74, 71
Offset: 1

Views

Author

Alexandre Wajnberg, Sep 30 2004

Keywords

Comments

Add each digit of the counting numbers to its rank.

Examples

			The sequence of digits of the counting numbers is
1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0...
The 15th term, for instance, is a 2. Thus 2+15=17 is the 15th term of this sequence.
		

Crossrefs

Programs

  • Mathematica
    Module[{dcn=Flatten[IntegerDigits/@Range[70]]},Total/@Thread[ {dcn,Range[ Length[dcn]]}]] (* Harvey P. Dale, Mar 25 2022 *)

Extensions

More terms from Joshua Zucker, May 18 2006