OFFSET
0,5
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,-3,3,-4,4).
FORMULA
a(2n) = a(2n+1) = A174565(n).
MAPLE
with(gfun): seriestolist(series((3*x^2+1)/((1-x)*(2*x^2+x+1)*(2*x^2-x+1)), x=0, 50));
MATHEMATICA
CoefficientList[Series[(1+3*x^2)/((1-x)*(1+3*x^2+4*x^4)), {x, 0, 50}], x] (* G. C. Greubel, Mar 24 2024 *)
PROG
(Magma) R<x>:=PowerSeriesRing(Integers(), 50); Coefficients(R!( (1+3*x^2)/((1-x)*(1+3*x^2+4*x^4)) )); // G. C. Greubel, Mar 24 2024
(SageMath)
def A107443_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( (1+3*x^2)/((1-x)*(1+3*x^2+4*x^4)) ).list()
A107443_list(50) # G. C. Greubel, Mar 24 2024
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Creighton Dement, May 26 2005
STATUS
approved