OFFSET
0,3
FORMULA
a(0) = 1; a(n) = Sum_{k=0..n-1} 3^k * binomial(n,k) * a(k).
PROG
(PARI) a_vector(n) = my(v=vector(n+1)); v[1]=1; for(i=1, n, v[i+1]=sum(j=0, i-1, 3^j*binomial(i, j)*v[j+1])); v;
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jun 18 2022
STATUS
approved