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.

Showing 1-2 of 2 results.

A152017 a(n) = n^5-n^4-n^3-n^2-n.

Original entry on oeis.org

0, -3, 2, 123, 684, 2345, 6222, 14007, 28088, 51669, 88890, 144947, 226212, 340353, 496454, 705135, 978672, 1331117, 1778418, 2338539, 3031580, 3879897, 4908222, 6143783, 7616424, 9358725, 11406122, 13797027, 16572948, 19778609, 23462070
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

  • Magma
    [n^5-n^4-n^3-n^2-n: n in [0..40]]; // Vincenzo Librandi, Nov 18 2011
  • Mathematica
    lst={};Do[AppendTo[lst,n^5-n^4-n^3-n^2-n],{n,0,5!}];lst
    Table[n^5-Total[n^Range[4]],{n,0,30}] (* or *) LinearRecurrence[ {6,-15,20,-15,6,-1},{0,-3,2,123,684,2345},30](* Harvey P. Dale, Sep 13 2011 *)

Formula

a(n) = 6*a(n-1)- 15*a(n-2)+20*a(n-3)-15*a(n-4)+6*a(n-5)-a(n-6), n>5. - Harvey P. Dale, Sep 13 2011
G.f. x*(-3+20*x+66*x^2+36*x^3+x^4) / (x-1)^6. - R. J. Mathar, Nov 17 2011

Extensions

Changed offset to 0 from Bruno Berselli, Nov 02 2011

A171129 a(n)=(n^4-n^3-n^2-n)/2.

Original entry on oeis.org

0, -1, 1, 21, 86, 235, 519, 1001, 1756, 2871, 4445, 6589, 9426, 13091, 17731, 23505, 30584, 39151, 49401, 61541, 75790, 92379, 111551, 133561, 158676, 187175, 219349, 255501, 295946, 341011, 391035, 446369, 507376, 574431, 647921, 728245, 815814
Offset: 0

Views

Author

Keywords

Comments

From Chai Wah Wu, Mar 16 2017: (Start)
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5) for n > 4.
G.f.: x*(-x^3 - 6*x^2 - 6*x + 1)/(x - 1)^5. (End)

Examples

			(2^4 - 2^3 - 2^2 - 2)/2 = 1, (3^4 - 3^3 - 3^2 - 3)/2 = 21,..
		

Crossrefs

Programs

  • Mathematica
    f[n_]:=(n^4-n^3-n^2-n)/2; Table[f[n],{n,0,5!}]

Extensions

Offset corrected by Chai Wah Wu, Mar 16 2017
Showing 1-2 of 2 results.