A105636 Transform of n^3 by the Riordan array (1/(1-x^2), x).
0, 1, 8, 28, 72, 153, 288, 496, 800, 1225, 1800, 2556, 3528, 4753, 6272, 8128, 10368, 13041, 16200, 19900, 24200, 29161, 34848, 41328, 48672, 56953, 66248, 76636, 88200, 101025, 115200, 130816, 147968, 166753, 187272, 209628, 233928, 260281, 288800, 319600
Offset: 0
Links
- Stanislav Sykora, Table of n, a(n) for n = 0..9999
- Stanislav Sýkora, Magnetic Resonance on OEIS, Stan's NMR Blog (Dec 31, 2014), Retrieved Nov 12, 2019.
- Eric Weisstein's World of Mathematics, Graph Cycle.
- Index entries for linear recurrences with constant coefficients, signature (4,-5,0,5,-4,1).
Crossrefs
Programs
-
GAP
List([0..30], n -> (2*n^4 +8*n^3 +8*n^2 -1+(-1)^n)/16); # G. C. Greubel, Dec 16 2018
-
Magma
[(2*n^4+8*n^3+8*n^2-1)/16+(-1)^n/16: n in [0..50]]; // Vincenzo Librandi, Oct 27 2014
-
Mathematica
LinearRecurrence[{4, -5, 0, 5, -4, 1}, {0, 1, 8, 28, 72, 153}, 60] (* Vladimir Joseph Stephan Orlovsky, Feb 08 2012 *) CoefficientList[Series[x (1 + 4 x + x^2)/((1 + x) (1 - x)^5), {x, 0, 50}], x] (* Vincenzo Librandi, Jun 26 2012 *) Table[((-1)^n + 2 n^2 (n + 2)^2 - 1)/16, {n, 0, 20}] (* Eric W. Weisstein, Jul 14 2017 *)
-
PARI
my(x='x+O('x^99)); concat(0, Vec(x*(1+4*x+x^2)/((1+x)*(1-x)^5))) \\ Altug Alkan, Apr 16 2018
-
Sage
[(2*n^4 +8*n^3 +8*n^2 -1+(-1)^n)/16 for n in range(30)] # G. C. Greubel, Dec 16 2018
Formula
G.f.: x*(1+4*x+x^2)/((1+x)*(1-x)^5).
a(n) = 4*a(n-1) - 5*a(n-2) + 5*a(n-4) - 4*a(n-5) + a(n-6).
a(n) = (2*n^4 + 8*n^3 + 8*n^2 - 1 + (-1)^n)/16.
a(n) = Sum_{k=0..floor((n-1)/2)} (n-2*k)^3.
a(n+1) = Sum_{k=0..n} k^3*(1 - (-1)^(n+k-1))/2.
a(n) = ((((x^2 - (x mod 2) - 4)/4)^2 - (((x^2 - (x mod 2) - 4)/4) mod 2))/8) = floor(((floor(x^2/4) - 1)^2)/8) where x = 2*n + 2. Replace x with 2*n - 1 to obtain A050534(n) = 3*A000332(n+1). Note that a(2*n) = A060300(n)/2 and a(2*n + 1) = A002593(n+1). - Raphie Frank, Jan 30 2014
a(n) = floor(1/(exp(2/n^2) - 1)^2)/2. Also a(n) = A007590(n+1)*A074148(n-1)/2. - Richard R. Forberg, Oct 26 2014
Sum_{n>=1} 1/a(n) = -cot(Pi/sqrt(2))*Pi/sqrt(2) - 1/2. - Amiram Eldar, Aug 25 2022
Comments