OFFSET
0,3
COMMENTS
In general, Sum_{k=0..n}, C(n-k,k)^2*a^k*b^(n-k) has expansion 1/sqrt(1-2bx-(2ab-b^2)x^2-2a*b^2*x^3+(ab)^2*x^4).
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..1785
Hacène Belbachir and Abdelghani Mehdaoui, Recurrence relation associated with the sums of square binomial coefficients, Quaestiones Mathematicae (2021) Vol. 44, Issue 5, 615-624.
FORMULA
a(n) = Sum_{k=0..n}, C(n-k, k)^2*3^k.
D-finite with recurrence: n*a(n) +(-2*n+1)*a(n-1) +5*(-n+1)*a(n-2) +3*(-2*n+3)*a(n-3) +9*(n-2)*a(n-4)=0. - R. J. Mathar, Feb 20 2015
MATHEMATICA
Array[Sum[Binomial[# - k, k]^2*3^k, {k, 0, #}] &, 26, 0] (* Michael De Vlieger, Sep 10 2021 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Jun 04 2005
STATUS
approved