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 (4,4,4,4,4,4,4,4,4,4,-10).
FORMULA
G.f.: (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)/(10*t^11 - 4*t^10 - 4*t^9 - 4*t^8 - 4*t^7 - 4*t^6 - 4*t^5 - 4*t^4 - 4*t^3 - 4*t^2 - 4*t + 1).
MAPLE
seq(coeff(series((1+t)*(1-t^11)/(1-5*t+14*t^11-10*t^12), t, n+1), t, n), n = 0 .. 30); # G. C. Greubel, Mar 13 2020
MATHEMATICA
CoefficientList[Series[(1+t)*(1-t^11)/(1-5*t+14*t^11-10*t^12), {t, 0, 30}], t] (* G. C. Greubel, May 10 2016 *)
coxG[{11, 10, -4, 30}] (* The coxG program is at A169452 *) (* Harvey P. Dale, Jul 13 2016 *)
PROG
(SageMath)
def A166364_list(prec):
P.<t> = PowerSeriesRing(ZZ, prec)
return P( (1+t)*(1-t^11)/(1-5*t+14*t^11-10*t^12) ).list()
A166364_list(30) # G. C. Greubel, Mar 13 2020
(PARI) Vec((1+x+x^2+x^3+x^4+x^5+x^6+x^7+x^8+x^9+x^10)*(1+x)/(1-4*x-4*x^2-4*x^3-4*x^4-4*x^5-4*x^6-4*x^7-4*x^8-4*x^9-4*x^10+10*x^11)+O(x^99)) \\ Charles R Greathouse IV, Jun 08 2026
(PARI) a(n)=if(n, ([0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0; 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0; 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0; 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1; -10, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4]^(n-1)*[6; 30; 150; 750; 3750; 18750; 93750; 468750; 2343750; 11718750; 58593735])[1, 1], 1) \\ Charles R Greathouse IV, Jun 08 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
John Cannon and N. J. A. Sloane, Dec 03 2009
STATUS
approved
