OFFSET
4,4
LINKS
Alois P. Heinz, Table of n, a(n) for n = 4..1000
Vaclav Kotesovec, Recurrence (of order 9)
FORMULA
a(n) ~ sqrt(sqrt(2)/4 - sqrt(154+112*sqrt(2))/56) * ((sqrt(13+16*sqrt(2))-1)/2)^n / (sqrt(Pi) * n^(3/2)). - Vaclav Kotesovec, Jul 02 2014
MAPLE
b:= proc(n, t, k) option remember; `if`(n=0,
`if`(t in [0, k], 1, 0), `if`(t>n, 0, add(b(j-1, k$2)*
b(n-j, max(0, t-1), k), j=1..n)))
end:
a:= n-> b(n-1, 3$2) -b(n-1, 4$2):
seq(a(n), n=4..40);
MATHEMATICA
b[n_, t_, k_] := b[n, t, k] = If[n == 0, If[t == 0 || t == k, 1, 0], If[t > n, 0, Sum[b[j - 1, k, k]*b[n - j, Max[0, t - 1], k], {j, 1, n}]]]; T[n_, k_] := b[n - 1, k, k] - If[n == 1 && k == 0, 0, b[n - 1, k + 1, k + 1]]; a[n_] := b[n - 1, 3, 3] - b[n - 1, 4, 4]; Table[a[n], {n, 4, 40}] (* Jean-François Alcover, Feb 06 2015, after Maple *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Joerg Arndt and Alois P. Heinz, Jun 29 2014
STATUS
approved