OFFSET
0,3
COMMENTS
The initial cm 0-9 can each be labeled because the labels take up one cm each, but the label for cm 10 takes up 2 cm, so cm 11 does not have its own label. Now 12 is labeled. This continues until cm 100 is labeled, which takes up 3 spaces, so 101 and 102 do not have their own label. - John Cerkan, Feb 14 2017
Or, let a'(n) be the length of all previous numbers in a(n), concatenated, then a(n) is a list of all the digits of each term of a'(n). - John Cerkan, Feb 16 2017
This sequence corresponds to the decimal digits of the terms of A088235. - Rémy Sigrist, Sep 25 2021
LINKS
John Cerkan, Table of n, a(n) for n = 0..10000
MATHEMATICA
nmax = 105; f[0] = 0; f[n_] := f[n] = f[n-1] + Length[IntegerDigits[f[n-1]]]; digits = Table[IntegerDigits[f[n]], {n, 0, nmax}] // Flatten; a[n_] := digits[[n+1]]; Table[a[n], {n, 0, nmax}] (* Jean-François Alcover, Nov 26 2013 *)
PROG
(Python)
from itertools import islice
def agen():
an = 0
while True: s = str(an); yield from map(int, s); an += len(s)
print(list(islice(agen(), 67))) # Michael S. Branicky, Jul 26 2022
CROSSREFS
KEYWORD
nonn,base,nice
AUTHOR
R. Lozyniak (11(AT)onna.com)
STATUS
approved