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-5 of 5 results.

A101104 a(1)=1, a(2)=12, a(3)=23, and a(n)=24 for n>=4.

Original entry on oeis.org

1, 12, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24
Offset: 1

Views

Author

Cecilia Rossiter, Dec 15 2004

Keywords

Comments

Original name: The first summation of row 4 of Euler's triangle - a row that will recursively accumulate to the power of 4.

Crossrefs

For other sequences based upon MagicNKZ(n,k,z):
..... | n = 1 | n = 2 | n = 3 | n = 4 | n = 5 | n = 6 | n = 7
---------------------------------------------------------------------------
z = 0 | A000007 | A019590 | .......MagicNKZ(n,k,0) = A008292(n,k+1) .......
z = 1 | A000012 | A040000 | A101101 | thisSeq | A101100 | ....... | .......
z = 2 | A000027 | A005408 | A008458 | A101103 | A101095 | ....... | .......
z = 3 | A000217 | A000290 | A003215 | A005914 | A101096 | ....... | .......
z = 4 | A000292 | A000330 | A000578 | A005917 | A101098 | ....... | .......
z = 5 | A000332 | A002415 | A000537 | A000583 | A022521 | ....... | A255181
Cf. A101095 for an expanded table and more about MagicNKZ.

Programs

  • Mathematica
    MagicNKZ = Sum[(-1)^j*Binomial[n+1-z, j]*(k-j+1)^n, {j, 0, k+1}];Table[MagicNKZ, {n, 4, 4}, {z, 1, 1}, {k, 0, 34}]
    Join[{1, 12, 23},LinearRecurrence[{1},{24},56]] (* Ray Chandler, Sep 23 2015 *)

Formula

a(k) = MagicNKZ(4,k,1) where MagicNKZ(n,k,z) = Sum_{j=0..k+1} (-1)^j*binomial(n+1-z,j)*(k-j+1)^n (cf. A101095). That is, a(k) = Sum_{j=0..k+1} (-1)^j*binomial(4, j)*(k-j+1)^4.
a(1)=1, a(2)=12, a(3)=23, and a(n)=24 for n>=4. - Joerg Arndt, Nov 30 2014
G.f.: x*(1+11*x+11*x^2+x^3)/(1-x). - Colin Barker, Apr 16 2012

Extensions

New name from Joerg Arndt, Nov 30 2014
Original Formula edited and Crossrefs table added by Danny Rorabaugh, Apr 22 2015

A254644 Fourth partial sums of fifth powers (A000584).

Original entry on oeis.org

1, 36, 381, 2336, 10326, 36552, 110022, 292512, 704847, 1567852, 3263403, 6422208, 12046268, 21675408, 37608828, 63194304, 103199469, 164281524, 255573769, 389409504, 582206130, 855534680, 1237402530, 1763779680, 2480401755, 3444885756, 4729197591, 6422513536, 8634521016, 11499207456
Offset: 1

Views

Author

Luciano Ancora, Feb 05 2015

Keywords

Examples

			Fifth differences:   1, 27,  93,  119,   120, (repeat 120) (A101100)
Fourth differences:  1, 28, 121,  240,   360,   480, ...   (A101095)
Third differences:   1, 29, 150,  390,   750,  1230, ...   (A101096)
Second differences:  1, 30, 180,  570,  1320,  2550, ...   (A101098)
First differences:   1, 31, 211,  781,  2101,  4651, ...   (A022521)
-------------------------------------------------------------------------
The fifth powers:    1, 32, 243, 1024,  3125,  7776, ...   (A000584)
-------------------------------------------------------------------------
First partial sums:  1, 33, 276, 1300,  4425, 12201, ...   (A000539)
Second partial sums: 1, 34, 310, 1610,  6035, 18236, ...   (A101092)
Third partial sums:  1, 35, 345, 1955,  7990, 26226, ...   (A101099)
Fourth partial sums: 1, 36, 381, 2336, 10326, 36552, ...   (this sequence)
		

Crossrefs

Cf. A101091 (fourth partial sums of fourth powers).

Programs

  • GAP
    List([1..30], n-> Binomial(n+4,5)*(5*(n+2)^4 -35*(n+2)^2 +36)/126); # G. C. Greubel, Aug 28 2019
  • Magma
    [Binomial(n+4,5)*(5*(n+2)^4 -35*(n+2)^2 +36)/126: n in [1..30]]; // G. C. Greubel, Aug 28 2019
    
  • Maple
    seq(binomial(n+4,5)*(5*(n+2)^4 -35*(n+2)^2 +36)/126, n=1..30); # G. C. Greubel, Aug 28 2019
  • Mathematica
    Table[n(1+n)(2+n)(3+n)(4+n)(-24 +20n +85n^2 +40n^3 +5n^4)/15120, {n, 30}] (* or *) Accumulate[Accumulate[Accumulate[Accumulate[Range[24]^5]]]] (* or *) CoefficientList[Series[(1 +26x +66x^2 +26x^3 +x^4)/(1-x)^10, {x, 0, 30}], x]
    Nest[Accumulate,Range[30]^5,4] (* or *) LinearRecurrence[{10,-45,120, -210,252,-210,120,-45,10,-1}, {1,36,381,2336,10326,36552,110022,292512, 704847,1567852},30] (* Harvey P. Dale, May 08 2016 *)
  • PARI
    vector(30, n, m=n+2; binomial(m+2,5)*(5*m^4 -35*m^2 +36)/126) \\ G. C. Greubel, Aug 28 2019
    
  • Sage
    [binomial(n+4,5)*(5*(n+2)^4 -35*(n+2)^2 +36)/126 for n in (1..30)] # G. C. Greubel, Aug 28 2019
    

Formula

G.f.: x*(1 + 26*x + 66*x^2 + 26*x^3 + x^4)/(1 - x)^10.
a(n) = n*(1 + n)*(2 + n)*(3 + n)*(4 + n)*(-24 + 20*n + 85*n^2 + 40*n^3 + 5*n^4)/15120.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) + n^5.

Extensions

Edited by Bruno Berselli, Feb 10 2015

A254682 Fifth partial sums of fifth powers (A000584).

Original entry on oeis.org

1, 37, 418, 2754, 13080, 49632, 159654, 452166, 1157013, 2724865, 5988268, 12410476, 24456744, 46132152, 83740980, 146935284, 250134753, 414416277, 669990046, 1059399550, 1641605680, 2497140360, 3734542890, 5498322570
Offset: 1

Views

Author

Luciano Ancora, Feb 12 2015

Keywords

Examples

			Fifth differences:   1, 27,  93,  119,   120, (repeat 120) (A101100)
Fourth differences:  1, 28, 121,  240,   360,   480, ...   (A101095)
Third differences:   1, 29, 150,  390,   750,  1230, ...   (A101096)
Second differences:  1, 30, 180,  570,  1320,  2550, ...   (A101098)
First differences:   1, 31, 211,  781,  2101,  4651, ...   (A022521)
-------------------------------------------------------------------------
The fifth powers:    1, 32, 243, 1024,  3125,  7776, ...   (A000584)
-------------------------------------------------------------------------
First partial sums:  1, 33, 276, 1300,  4425, 12201, ...   (A000539)
Second partial sums: 1, 34, 310, 1610,  6035, 18236, ...   (A101092)
Third partial sums:  1, 35, 345, 1955,  7990, 26226, ...   (A101099)
Fourth partial sums: 1, 36, 381, 2336, 10326, 36552, ...   (A254644)
Fifth partial sums:  1, 37, 418, 2754, 13080, 49632, ...   (this sequence)
		

Crossrefs

Programs

  • Mathematica
    Table[n (1 + n) (2 + n) (3 + n) (4 + n) (5 + n) (- 2 + 5 n + n^2) (9 + 10 n + 2 n^2)/60480, {n,24}] (* or *)
    CoefficientList[Series[(- 1 - 26 x - 66 x^2 - 26 x^3 - x^4)/(- 1 + x)^11, {x,0,23}], x]
    Nest[Accumulate,Range[30]^5,5] (* or *) LinearRecurrence[{11,-55,165,-330,462,-462,330,-165,55,-11,1},{1,37,418,2754,13080,49632,159654,452166,1157013,2724865,5988268},30] (* Harvey P. Dale, Jan 30 2019 *)
  • PARI
    a(n)=n*(1+n)*(2+n)*(3+n)*(4+n)*(5+n)*(-2+5*n+n^2)*(9+10*n+2*n^2)/60480 \\ Charles R Greathouse IV, Oct 07 2015

Formula

G.f.: (- x - 26*x^2 - 66*x^3 - 26*x^4 - x^5)/(- 1 + x)^11.
a(n) = n*(1 + n)*(2 + n)*(3 + n)*(4 + n)*(5 + n)*(- 2 + 5*n + n^2)*(9 + 10*n + 2*n^2)/60480.
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5) + n^5.
Sum_{n>=1} 1/a(n) = 475867/180 - (2560/13)*sqrt(7)*Pi*tan(sqrt(7)*Pi/2) + (210/13)*sqrt(3/11)*Pi*tan(sqrt(33)*Pi/2). - Amiram Eldar, Jan 27 2022

A101095 Fourth difference of fifth powers (A000584).

Original entry on oeis.org

1, 28, 121, 240, 360, 480, 600, 720, 840, 960, 1080, 1200, 1320, 1440, 1560, 1680, 1800, 1920, 2040, 2160, 2280, 2400, 2520, 2640, 2760, 2880, 3000, 3120, 3240, 3360, 3480, 3600, 3720, 3840, 3960, 4080, 4200, 4320, 4440, 4560, 4680, 4800, 4920, 5040, 5160, 5280
Offset: 1

Views

Author

Cecilia Rossiter, Dec 15 2004

Keywords

Comments

Original Name: Shells (nexus numbers) of shells of shells of shells of the power of 5.
The (Worpitzky/Euler/Pascal Cube) "MagicNKZ" algorithm is: MagicNKZ(n,k,z) = Sum_{j=0..k+1} (-1)^j*binomial(n + 1 - z, j)*(k - j + 1)^n, with k>=0, n>=1, z>=0. MagicNKZ is used to generate the n-th accumulation sequence of the z-th row of the Euler Triangle (A008292). For example, MagicNKZ(3,k,0) is the 3rd row of the Euler Triangle (followed by zeros) and MagicNKZ(10,k,1) is the partial sums of the 10th row of the Euler Triangle. This sequence is MagicNKZ(5,k-1,2).

Crossrefs

Fourth differences of A000584, third differences of A022521, second differences of A101098, and first differences of A101096.
For other sequences based upon MagicNKZ(n,k,z):
...... | n = 1 | n = 2 | n = 3 | n = 4 | n = 5 | n = 6 | n = 7 | n = 8
--------------------------------------------------------------------------------------
z = 0 | A000007 | A019590 | ....... MagicNKZ(n,k,0) = T(n,k+1) from A008292 .......
z = 1 | A000012 | A040000 | A101101 | A101104 | A101100 | ....... | ....... | .......
z = 2 | A000027 | A005408 | A008458 | A101103 | thisSeq | ....... | ....... | .......
z = 3 | A000217 | A000290 | A003215 | A005914 | A101096 | ....... | ....... | .......
z = 4 | A000292 | A000330 | A000578 | A005917 | A101098 | ....... | ....... | .......
z = 5 | A000332 | A002415 | A000537 | A000583 | A022521 | ....... | A255181 | .......
z = 12 | A001288 | A057788 | ....... | A254870 | A254471 | A254683 | A254646 | A254642
z = 13 | A010965 | ....... | ....... | ....... | A254871 | A254472 | A254684 | A254647
z = 14 | A010966 | ....... | ....... | ....... | ....... | A254872 | ....... | .......
--------------------------------------------------------------------------------------
Cf. A047969.

Programs

  • Magma
    I:=[1,28,121,240,360]; [n le 5 select I[n] else 2*Self(n-1)-Self(n-2): n in [1..50]]; // Vincenzo Librandi, May 07 2015
    
  • Mathematica
    MagicNKZ=Sum[(-1)^j*Binomial[n+1-z, j]*(k-j+1)^n, {j, 0, k+1}];Table[MagicNKZ, {n, 5, 5}, {z, 2, 2}, {k, 0, 34}]
    CoefficientList[Series[(1 + 26 x + 66 x^2 + 26 x^3 + x^4)/(1 - x)^2, {x, 0, 50}], x] (* Vincenzo Librandi, May 07 2015 *)
    Join[{1,28,121,240},Differences[Range[50]^5,4]] (* or *) LinearRecurrence[{2,-1},{1,28,121,240,360},50] (* Harvey P. Dale, Jun 11 2016 *)
  • PARI
    a(n)=if(n>3, 120*n-240, 33*n^2-72*n+40) \\ Charles R Greathouse IV, Oct 11 2015
  • Sage
    [1,28,121]+[120*(k-2) for k in range(4,36)] # Danny Rorabaugh, Apr 23 2015
    

Formula

a(k+1) = Sum_{j=0..k+1} (-1)^j*binomial(n + 1 - z, j)*(k - j + 1)^n; n = 5, z = 2.
For k>3, a(k) = Sum_{j=0..4} (-1)^j*binomial(4, j)*(k - j)^5 = 120*(k - 2).
a(n) = 2*a(n-1) - a(n-2), n>5. G.f.: x*(1+26*x+66*x^2+26*x^3+x^4) / (1-x)^2. - Colin Barker, Mar 01 2012

Extensions

MagicNKZ material edited, Crossrefs table added, SeriesAtLevelR material removed by Danny Rorabaugh, Apr 23 2015
Name changed and keyword 'uned' removed by Danny Rorabaugh, May 06 2015

A101100 The first summation of row 5 of Euler's triangle - a row that will recursively accumulate to the power of 5.

Original entry on oeis.org

1, 27, 93, 119, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120
Offset: 1

Views

Author

Cecilia Rossiter (cecilia(AT)noticingnumbers.net), Dec 15 2004

Keywords

References

  • Miklos Bona, editor, Handbook of Enumerative Combinatorics, CRC Press, 2015, page 533.

Crossrefs

Within the "cube" of related sequences with construction based upon MaginNKZ formula, with n downward, k rightward and z backward: Before: this sequence, A101095, A101096, A101098, A022521, A000584, A000539, A101092, A101099. Above: A101104, this sequence.
Within the "cube" of related sequences with construction based upon SeriesAtLevelR formula, with n downward, x rightward and r backward: Before: this sequence, A101095, A101096, A101098, A022521, A000584, A000539, A101092, A101099.

Programs

  • Magma
    R:=PowerSeriesRing(Integers(), 40); Coefficients(R!( x*(1+26*x+66*x^2+26*x^3+x^4)/(1-x) )); // G. C. Greubel, May 07 2019
    
  • Mathematica
    MagicNKZ=Sum[(-1)^j*Binomial[n+1-z, j]*(k-j+1)^n, {j, 0, k+1}]; Table[MagicNKZ, {n, 5, 5}, {z, 1, 1}, {k, 0, 34}]
    (* or *)
    SeriesAtLevelR = Sum[Eulerian[n, i-1]*Binomial[n+x-i+r, n+r], {i,1,n}]; Table[SeriesAtLevelR, {n, 5, 5}, {r, -5, -5}, {x, 5, 35}]
  • PARI
    {a(n) = if(n==1, 1, if(n==2, 27, if(n==3, 93, if(n==4, 119, 120))) )}; \\ G. C. Greubel, May 07 2019
    
  • Sage
    a=(x*(1+26*x+66*x^2+26*x^3+x^4)/(1-x)).series(x, 40).coefficients(x, sparse=False); a[1:] # G. C. Greubel, May 07 2019

Formula

a(n) = 120, n>4.
a(n) = Sum_{j=1..m} Eulerian(m, j-1)*binomial(m+n-j+r, m+r), with m = 5, r = -5.
a(n) = Sum_{j=0..n+1} (-1)^j*binomial(m+1-z, j)*(n-j+1)^n, with m = 5, z = 1.
G.f.: x*(1+26*x+66*x^2+26*x^3+x^4)/(1-x). - Colin Barker, Mar 01 2012
Showing 1-5 of 5 results.