OFFSET
0,2
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..500
Index entries for linear recurrences with constant coefficients, signature (43,43,43,43,43,43,43,43,43,43, 43,43,43,43,43,-946).
FORMULA
G.f.: (t^16 + 2*t^15 + 2*t^14 + 2*t^13 + 2*t^12 + 2*t^11 + 2*t^10 + 2*t^9 + 2*t^8 + 2*t^7 + 2*t^6 + 2*t^5 + 2*t^4 + 2*t^3 + 2*t^2 + 2*t + 1)/( 946*t^16 - 43*t^15 - 43*t^14 - 43*t^13 - 43*t^12 - 43*t^11 - 43*t^10 - 43*t^9 - 43*t^8 - 43*t^7 - 43*t^6 - 43*t^5 - 43*t^4 - 43*t^3 - 43*t^2 - 43*t + 1).
From G. C. Greubel, Apr 27 2023: (Start)
G.f.: (1 + x)*(1 + x^16)/(1 - 44*x + 946*x^16 - 903*x^17).
a(n) = 43*Sum_{k=1..15} a(n-k) - 946*a(n-16). (End)
MATHEMATICA
CoefficientList[Series[(1+x)*(1+x^16)/(1-44*x+946*x^16-903*x^17), {x, 0, 50}], x] (* G. C. Greubel, Jul 02 2016; Apr 27 2023 *)
coxG[{16, 946, -43, 40}] (* The coxG program is at A169452 *) (* G. C. Greubel, Apr 27 2023 *)
PROG
(Magma) R<x>:=PowerSeriesRing(Integers(), 40); Coefficients(R!( (1+x)*(1+x^16)/(1-44*x+946*x^16-903*x^17) )); // G. C. Greubel, Apr 27 2023
(SageMath)
def A167961_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( (1+x)*(1+x^16)/(1-44*x+946*x^16-903*x^17) ).list()
A167961_list(40) # G. C. Greubel, Apr 27 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
John Cannon and N. J. A. Sloane, Dec 03 2009
STATUS
approved