login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A088235 Total number of digits (in base 10) in all preceding terms in the sequence. 3
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 103, 106, 109, 112, 115, 118, 121, 124, 127, 130, 133 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..1000

FORMULA

a(1) = 1; a(n+1) = a(n) + floor(Log[10, a(n)]) + 1

a(n) = A064223(n), n>0. [R. J. Mathar, Sep 11 2008]

MATHEMATICA

RecurrenceTable[{a[n + 1] == a[n] + Floor[Log10[a[n]]] + 1,

  a[1] == 1}, a, {n, 1, 20}] (* G. C. Greubel, Dec 10 2015 *)

PROG

(PARI) lista(nn) = {ns = 0; v = vector(nn); for (i=2, nn, ns += #Str(v[i-1]); v[i] = ns; ); v; } \\ Michel Marcus, Dec 05 2015

CROSSREFS

Cf. A064223, A088236.

Sequence in context: A102685 A032960 A117804 * A064223 A098952 A144688

Adjacent sequences:  A088232 A088233 A088234 * A088236 A088237 A088238

KEYWORD

base,easy,nonn

AUTHOR

David Corbett (dcorbett42(AT)yahoo.co.nz), Sep 25 2003

EXTENSIONS

More terms from Alexandre Wajnberg, Jan 02 2006

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 12 13:21 EDT 2020. Contains 335663 sequences. (Running on oeis4.)