cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A172077 a(n) = n*(n+1)*(7*n^2 - n - 4)/4.

Original entry on oeis.org

0, 1, 33, 168, 520, 1245, 2541, 4648, 7848, 12465, 18865, 27456, 38688, 53053, 71085, 93360, 120496, 153153, 192033, 237880, 291480, 353661, 425293, 507288, 600600, 706225, 825201, 958608, 1107568, 1273245, 1456845, 1659616, 1882848, 2127873
Offset: 0

Views

Author

Vincenzo Librandi, Jan 25 2010

Keywords

Comments

The sequence is related to A172076 by a(n) = n*A172076(n) - Sum_{i=0..n-1} A172076(i).
This is the case d=7 in the identity n^2*(n+1)*(2*d*n-2*d+3)/6 - Sum_{k=0..n-1} k*(k+1)*(2*d*k-2*d+3)/6 = n*(n+1)*(3*d*n^2 - d*n + 4*n - 2*d + 2)/12. - Bruno Berselli, Apr 21 2010

Crossrefs

Cf. A172076.

Programs

  • GAP
    List([0..40], n-> n*(n+1)*(7*n^2-n-4)/4); # G. C. Greubel, Aug 30 2019
  • Magma
    [n*(n+1)*(7*n^2-n-4)/4: n in [0..40]]; // Vincenzo Librandi, Jan 01 2014
    
  • Maple
    seq(n*(n+1)*(7*n^2-n-4)/4, n=0..40); # G. C. Greubel, Aug 30 2019
  • Mathematica
    CoefficientList[Series[x(1 +28x +13x^2)/(1-x)^5, {x, 0, 40}], x] (* Vincenzo Librandi, Jan 01 2014 *)
    Table[n*(n+1)*(7*n^2-n-4)/4, {n,0,40}] (* G. C. Greubel, Aug 30 2019 *)
  • PARI
    vector(40, n, n*(n-1)*(7*(n-1)^2-(n-1)-4)/4) \\ G. C. Greubel, Aug 30 2019
    
  • Sage
    [n*(n+1)*(7*n^2-n-4)/4 for n in (0..40)] # G. C. Greubel, Aug 30 2019
    

Formula

G.f.: x*(1 + 28*x + 13*x^2)/(1-x)^5. - R. J. Mathar, Nov 17 2011
E.g.f.: x*(4 + 62*x + 48*x^2 + 7*x^3)*exp(x)/4. - G. C. Greubel, Aug 30 2019