|
|
A057137
|
|
Concatenate next digit at right hand end (where the next digit after 9 is again 0).
|
|
11
|
|
|
0, 1, 12, 123, 1234, 12345, 123456, 1234567, 12345678, 123456789, 1234567890, 12345678901, 123456789012, 1234567890123, 12345678901234, 123456789012345, 1234567890123456, 12345678901234567, 123456789012345678
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
Also called the triangle of the gods (see Pickover link).
|
|
REFERENCES
|
Clifford A. Pickover, A Passion for Mathematics, Wiley, 2005; see p. 61.
|
|
LINKS
|
Index entries for linear recurrences with constant coefficients, signature (10,0,0,0,0,0,0,0,0,1,-10).
|
|
FORMULA
|
a(n) = 10*(a(n-1)-floor[n/10]) + n = floor[A057139(n)/10^(n-1)].
|
|
MAPLE
|
|
|
MATHEMATICA
|
a[n_]:=Floor[137174210/1111111111*10^n]; Array[a, 19, 0] (* Robert G. Wilson v, Apr 18 2014 *)
|
|
PROG
|
|
|
CROSSREFS
|
Alternative progression for n >= 10 compared with A007908 and A014824.
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|