OFFSET
0,4
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..100
FORMULA
a(n)=sum(k=1..n, binomial(k/2,(n-k)/2)*2^(n-k-1)*((-1)^(n-k)+1)), n>0, a(0)=1.
D-finite with recurrence: (-n+1)*a(n) +(-n+2)*a(n-1) +3*(-n+5)*a(n-2) +3*(-n+6)*a(n-3) +4*(2*n-5)*a(n-4) +4*(2*n-7)*a(n-5) +16*(n-4)*a(n-6) +16*(n-5)*a(n-7)=0. - R. J. Mathar, Jan 25 2020
MATHEMATICA
CoefficientList[Series[1/(1-x Sqrt[1+4x^2]), {x, 0, 40}], x] (* Harvey P. Dale, Mar 04 2015 *)
PROG
(PARI) x='x+O('x^66); /* that many terms */
Vec(1/(1-x*sqrt(1+4*x^2))) /* show terms */ /* Joerg Arndt, May 22 2011 */
(Maxima) a(n):=sum(binomial(k/2, (n-k)/2)*2^(n-k-1)*((-1)^(n-k)+1), k, 1, n);
CROSSREFS
KEYWORD
sign
AUTHOR
Vladimir Kruchinin, May 21 2011
STATUS
approved