OFFSET
0,3
COMMENTS
Also called the triangle of the gods (see Pickover link).
See A037610 for a general formula. - Hieronymus Fischer, Jan 03 2013
REFERENCES
Clifford A. Pickover, A Passion for Mathematics, Wiley, 2005; see p. 61.
LINKS
T. D. Noe and Hieronymus Fischer, Table of n, a(n) for n = 0..200 (terms up to 100 from T. D. Noe)
Clifford Pickover, Triangle of the Gods
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)].
a(n) = floor((137174210/1111111111)*10^n). - Hieronymus Fischer, Jan 03 2013, corrected by M. F. Hasler, Jan 13 2013
MAPLE
A057137:=n->floor((137174210/1111111111)*10^n); seq(A057137(n), n=0..20); # Wesley Ivan Hurt, Apr 18 2014
MATHEMATICA
a[n_]:=Floor[137174210/1111111111*10^n]; Array[a, 19, 0] (* Robert G. Wilson v, Apr 18 2014 *)
PROG
(PARI) A057137(n)=sum(i=1, n, i%10*10^(n-i)) \\ M. F. Hasler, Jan 13 2013
(PARI) A057137(n)=137174210*10^n\1111111111 \\ M. F. Hasler, Jan 13 2013
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Henry Bottomley, Aug 12 2000
STATUS
approved