OFFSET
0,3
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..32
EXAMPLE
a(3) = a(0)*3^0 + a(1)*3^1 + a(2)*3^2 = 1*1 + 1*3 + 3*9 = 31.
MAPLE
a:= proc(n) option remember;
`if`(n=0, 1, add(a(i)*n^i, i=0..n-1))
end:
seq(a(n), n=0..15); # Alois P. Heinz, Aug 21 2011
MATHEMATICA
a[0] = 1; a[n_] := Sum[a[i]*n^i, {i, 0, n-1}]; Table[a[n], {n, 0, 11}] (* Jean-François Alcover, Mar 24 2014 *)
PROG
(Haskell)
a066976 0 = 1
a066976 n = sum $ zipWith (*) a066976_list $ map (n ^) [0..n-1]
a066976_list = map a066976 [0..]
-- Reinhard Zumkeller, Oct 25 2011
CROSSREFS
KEYWORD
nonn,nice
AUTHOR
Reinhard Zumkeller, Jan 26 2002
STATUS
approved