|
|
A086929
|
|
a(1) = 1, a(n) = n times (the digit reversal of the (n-1)-th partial sum).
|
|
1
|
|
|
1, 2, 9, 84, 345, 864, 35217, 180504, 5586408, 43430850, 530676234, 9780239700, 1055666381913, 18372986892414, 818136466402365, 314063593211808, 139031163059145687, 9080662161749058738, 64855015790195124351
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
EXAMPLE
|
a(5) = 5*(reversal of (1+2+9+84)) = 5*(rev(96)) = 5*69 = 345.
|
|
MAPLE
|
digrev:= proc(n) local L, i;
L:= convert(n, base, 10);
add(L[-i]*10^(i-1), i=1..nops(L))
end proc:
A[1]:= 1: S:= 1:
for n from 2 to 20 do A[n]:= n*digrev(S); S:= S + A[n] od:
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|