A165943 a(n) = A061037(7*n+2).
0, 77, 63, 525, 56, 1365, 483, 2597, 210, 4221, 1295, 6237, 462, 8645, 2499, 11445, 812, 14637, 4095, 18221, 1260, 22197, 6083, 26565, 1806, 31325, 8463, 36477, 2450, 42021, 11235, 47957, 3192, 54285, 14399, 61005, 4032, 68117, 17955, 75621, 4970
Offset: 0
Links
- G. C. Greubel, Table of n, a(n) for n = 0..5000
- Index entries for linear recurrences with constant coefficients, signature (0,0,0,3,0,0,0,-3,0,0,0,1).
Programs
-
Magma
m:=25; R
:=PowerSeriesRing(Integers(), m); [0] cat Coefficients(R!(7*x*(11 + 9*x + 75*x^2 + 8*x^3 + 162*x^4 + 42*x^5 + 146*x^6 + 6*x^7 + 51*x^8 + 5*x^9 + 3*x^10)/((1 - x)^3*(1 + x)^3*(1 + x^2)^3))); // G. C. Greubel, Sep 19 2018 -
Maple
seq(numer(1/4 - 1/(7*n+2)^2), n=0..50); # Robert Israel, Apr 20 2016
-
Mathematica
Table[Numerator[1/4 - 1/(7 n + 2)^2], {n, 0, 40}] (* Michael De Vlieger, Apr 19 2016 *) CoefficientList[Series[7*x*(11 + 9*x + 75*x^2 + 8*x^3 + 162*x^4 + 42*x^5 + 146*x^6 + 6*x^7 + 51*x^8 + 5*x^9 + 3*x^10)/((1 - x)^3*(1 + x)^3*(1 + x^2)^3), {x, 0, 50}], x] (* G. C. Greubel, Sep 19 2018 *)
-
PARI
a(n) = numerator(1/4 - 1/(7*n+2)^2); \\ Altug Alkan, Apr 18 2016
-
PARI
x='x+O('x^50); concat([0], Vec(7*x*(11 + 9*x + 75*x^2 + 8*x^3 + 162*x^4 + 42*x^5 + 146*x^6 + 6*x^7 + 51*x^8 + 5*x^9 + 3*x^10)/((1 - x)^3*(1 + x)^3*(1 + x^2)^3))) \\ G. C. Greubel, Sep 19 2018
Formula
a(n) = 3*a(n-4) - 3*a(n-8) + a(n-12), n>12. - Conjectured by R. J. Mathar, Mar 02 2010, proved by Robert Israel, Apr 20 2016
From Ilya Gutkovskiy, Apr 19 2016: (Start)
G.f.: 7*x*(11 + 9*x + 75*x^2 + 8*x^3 + 162*x^4 + 42*x^5 + 146*x^6 + 6*x^7 + 51*x^8 + 5*x^9 + 3*x^10)/((1 - x)^3*(1 + x)^3*(1 + x^2)^3).
a(n) = -7*n*(7*n + 4)*(27*(-1)^n + 6*cos((Pi*n)/2) - 37)/64. (End)
Extensions
Partially edited and extended by R. J. Mathar, Mar 02 2010
Removed division by 7 in definition and formula - R. J. Mathar, Mar 23 2010
Comments