OFFSET
4,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 4..1000
FORMULA
From Vaclav Kotesovec, Oct 14 2017: (Start)
a(n) = 20*a(n-1) - 160*a(n-2) + 670*a(n-3) - 1634*a(n-4) + 2476*a(n-5) - 2432*a(n-6) + 1564*a(n-7) - 640*a(n-8) + 152*a(n-9) - 16*a(n-10).
a(n) ~ (1 + sqrt(2) + sqrt(4 + 3*sqrt(2)))/8 * (2 + sqrt(2) + sqrt(4 + 3*sqrt(2)))^n. (End)
MAPLE
b:= proc(n, k) option remember; `if`(n=0, 1,
add(b(n-j, k)*binomial(j+k-1, k-1), j=1..n))
end:
a:= n-> (k->add(b(n, k-i)*(-1)^i*binomial(k, i), i=0..k))(4):
seq(a(n), n=4..30);
MATHEMATICA
b[n_, k_] := b[n, k] = If[n == 0, 1,
Sum[b[n - j, k] Binomial[j + k - 1, k - 1], {j, 1, n}]];
a[n_] := With[{k = 4}, Sum[b[n, k - i] (-1)^i Binomial[k, i], {i, 0, k}]];
a /@ Range[4, 30] (* Jean-François Alcover, Dec 29 2020, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Oct 12 2017
STATUS
approved