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.

A255177 Second differences of seventh powers (A001015).

Original entry on oeis.org

1, 126, 1932, 12138, 47544, 140070, 341796, 730002, 1412208, 2531214, 4270140, 6857466, 10572072, 15748278, 22780884, 32130210, 44327136, 59978142, 79770348, 104476554, 134960280, 172180806, 217198212, 271178418
Offset: 0

Views

Author

Luciano Ancora, Feb 21 2015

Keywords

Examples

			Second differences:  1, 126, 1932, 12138,  47544, ... (this sequence)
First differences:   1, 127, 2060, 14324,  63801, ... (A152726)
----------------------------------------------------------------------
The seventh powers:  1, 128, 2187, 16384,  78125, ... (A001015)
----------------------------------------------------------------------
First partial sums:  1, 129, 2316, 18700,  96825, ... (A000541)
Second partial sums: 1, 130, 2446, 21146, 117971, ... (A250212)
Third partial sums:  1, 131, 2577, 23723, 141694, ... (A254641)
Fourth partial sums: 1, 132, 2709, 26432, 168126, ... (A254646)
Fifth partial sums:  1, 133, 2842, 29274, 197400, ... (A254684)
		

Crossrefs

Programs

  • Magma
    [1] cat [14*(-1+n)*(9-22*n+23*n^2-12*n^3+3*n^4): n in [2..30]]; // Vincenzo Librandi, Mar 12 2015
    
  • Mathematica
    Join[{1}, Table[14 n (3 n^4 + 5 n^2 + 1), {n, 1, 30}], {n, 0, 24}] (* or *)
    CoefficientList[Series[(1 + 120 x + 1191 x^2 + 2416 x^3 + 1191 x^4 + 120 x^5 + x^6)/(1 - x)^6, {x, 0, 22}], x]
  • Python
    def A255177(n): return 14*n*(n**2*(3*n**2 + 5) + 1) if n else 1 # Chai Wah Wu, Oct 07 2024

Formula

G.f.: (1 + 120*x + 1191*x^2 + 2416*x^3 + 1191*x^4 + 120*x^5 + x^6)/(1 - x)^6.
a(n) = 14*n*(3*n^4 + 5*n^2 + 1) for n>0, a(0)=1.
a(n) = A022523(n)-A022523(n-1). - R. J. Mathar, Jul 16 2015

Extensions

Edited by Bruno Berselli, Mar 19 2015

A255183 Third differences of ninth powers (A001017).

Original entry on oeis.org

1, 509, 18150, 204630, 1225230, 4985070, 15717750, 41436870, 95750430, 200038110, 385991430, 698516790, 1199001390, 1968942030, 3113936790, 4768039590, 7098477630, 10310731710, 14653979430, 20426901270
Offset: 0

Views

Author

Luciano Ancora, Mar 18 2015

Keywords

Examples

			Third differences:   1, 509, 18150, 204630, 1225230, ...  (this sequence)
Second differences:  1, 510, 18660, 223290, 1448520, ...  (A255179)
First differences:   1, 511, 19171, 242461, 1690981, ...  (A022525)
---------------------------------------------------------------------
The ninth powers:    1, 512, 19683, 262144, 1953125, ...  (A001017)
---------------------------------------------------------------------
		

Crossrefs

Programs

  • Magma
    [1,509] cat [6*(84*n^6-252*n^5+630*n^4-840*n^3+756*n^2-378*n+85): n in [2..30]]; // Vincenzo Librandi, Mar 18 2015
  • Mathematica
    Join[{1, 509}, Table[6 (84 n^6 - 252 n^5 + 630 n^4 - 840 n^3 + 756 n^2 - 378 n + 85), {n, 2, 30}]]
    Join[{1,509},Differences[Range[0,20]^9,3]] (* Harvey P. Dale, Apr 24 2015 *)

Formula

G.f.: (1 + 502*x + 14608*x^2 + 88234*x^3 + 156190*x^4 + 88234*x^5 + 14608*x^6 + 502*x^7 + x^8)/(1 - x)^7.
a(n) = 6*(84*n^6 - 252*n^5 + 630*n^4 - 840*n^3 + 756*n^2 - 378*n + 85) for n>1, a(0)=1, a(1)=509.

Extensions

Edited by Bruno Berselli, Mar 20 2015
Showing 1-2 of 2 results.