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 (6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, -21).
FORMULA
G.f.: (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)/(21*t^14 - 6*t^13 - 6*t^12 - 6*t^11 - 6*t^10 - 6*t^9 - 6*t^8 - 6*t^7 - 6*t^6 - 6*t^5 - 6*t^4 - 6*t^3 - 6*t^2 - 6*t + 1).
MATHEMATICA
With[{num=Total[2t^Range[13]]+t^14+1, den=Total[-6 t^Range[13]]+ 21t^14+1}, CoefficientList[Series[num/den, {t, 0, 30}], t]] (* Harvey P. Dale, Jul 15 2011 *)
CoefficientList[Series[(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)/ (21*t^14 - 6*t^13 - 6*t^12 - 6*t^11 - 6*t^10 - 6*t^9 - 6*t^8 - 6*t^7 - 6*t^6 - 6*t^5 - 6*t^4 - 6*t^3 - 6*t^2 - 6*t + 1), {t, 0, 50}], t] (* G. C. Greubel, Jun 03 2016 *)
PROG
(PARI) first(n)=Vec((1+x^2+x^4+x^6+x^8+x^10+x^12)*(1+x)^2/(1-6*x-6*x^2-6*x^3-6*x^4-6*x^5-6*x^6-6*x^7-6*x^8-6*x^9-6*x^10-6*x^11-6*x^12-6*x^13+21*x^14)+O(x^(n+1))) \\ Charles R Greathouse IV, Jun 11 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
John Cannon and N. J. A. Sloane, Dec 03 2009
STATUS
approved
