OFFSET
0,5
LINKS
Matthew House, Table of n, a(n) for n = 0..3304
Index entries for linear recurrences with constant coefficients, signature (3,-1,-2,1,0,-4,-1,2,0,-1,2).
FORMULA
a(n) = 2^n - A125513(n).
G.f.: x^3*(-1-3*x+x^2+x^3-x^4+x^5+x^6) / ( (2*x-1)*(x^10+x^7-2*x^5-x^4-x^2-x+1) ). - R. J. Mathar, Nov 28 2011
a(n) = 3*a(n-1) - a(n-2) - 2*a(n-3) + a(n-4) - 4*a(n-6) - a(n-7) + 2*a(n-8) - a(n-10) + 2*a(n-11). - Wesley Ivan Hurt, Feb 12 2026
MATHEMATICA
LinearRecurrence[{3, -1, -2, 1, 0, -4, -1, 2, 0, -1, 2}, {0, 0, 0, 1, 6, 16, 39, 91, 207, 463, 1014}, 40] (* Harvey P. Dale, Jul 19 2020 *)
CoefficientList[Series[x^3*(-1 - 3*x + x^2 + x^3 - x^4 + x^5 + x^6)/((2*x - 1)*(x^10 + x^7 - 2*x^5 - x^4 - x^2 - x + 1)), {x, 0, 40}], x] (* Wesley Ivan Hurt, Feb 12 2026 *)
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
Tanya Khovanova, Sep 28 2007
EXTENSIONS
More terms from Matthew House, Dec 26 2016
STATUS
approved
