OFFSET
1,4
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
FORMULA
Conjecture D-finite with recurrence: n*a(n) = (n-3)*a(n-1) +4*(n-3)*a(n-2) +3*(3*n-10)*a(n-3) +(7*n-27)*a(n-4) +2*(2*n-9)*a(n-5). - R. J. Mathar, Jan 24 2020
MATHEMATICA
Rest@CoefficientList[Series[(1+x -Sqrt[1-2*x-3*x^2-4*x^3])/(2+2*x +2*x^2), {x, 0, 40}], x] (* G. C. Greubel, Oct 06 2023 *)
PROG
(Magma) R<x>:=PowerSeriesRing(Rationals(), 40); Coefficients(R!( (1+x-Sqrt(1-2*x-3*x^2-4*x^3))/(2+2*x+2*x^2) )); // G. C. Greubel, Oct 06 2023
(SageMath)
def A108629_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( (1+x-sqrt(1-2*x-3*x^2-4*x^3))/(2+2*x+2*x^2) ).list()
a=A108629_list(41); a[1:] # G. C. Greubel, Oct 06 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Christian G. Bower, Jun 12 2005
STATUS
approved