OFFSET
0,2
COMMENTS
Diagonal of rational function 1/(1 - (1 + (x*y)^2) * (x + y)).
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..1000
FORMULA
G.f.: 1/sqrt(1 - 4*x*(1 + x^2)^2).
n*a(n) = 2*(2*n-1)*a(n-1) + 4*(2*n-3)*a(n-3) + 2*(2*n-5)*a(n-5) for n > 4.
PROG
(PARI) a(n) = sum(k=0, n\2, binomial(2*(n-2*k), k)*binomial(2*(n-2*k), n-2*k));
(Python)
from math import comb
def A361752(n): return sum(comb(m:=(r:=n-(k<<1))<<1, k)*comb(m, r) for k in range((n>>1)+1)) # Chai Wah Wu, Mar 23 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Mar 23 2023
STATUS
approved