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.

A122589 Expansion of 1/(1 - 11*x + 45*x^2 - 84*x^3 + 70*x^4 - 21*x^5 + x^6).

Original entry on oeis.org

1, 11, 76, 425, 2109, 9709, 42504, 179630, 740025, 2991495, 11920740, 46981740, 183579396, 712493461, 2750450981, 10572046555, 40495806764, 154683305139, 589504177384, 2242448706435, 8517201473375, 32309383853565
Offset: 0

Views

Author

Roger L. Bagula and Gary W. Adamson, Sep 19 2006

Keywords

Comments

Previous name was: Sum_{n >= 0} a(n)*x^(2n) / 4^(n+6) = 1/(4096 - 11264*x^2 + 11520*x^4 - 5376*x^6 + 1120*x^8 - 84*x^10 + x^12).
Suggested by study of polynomials associated with the regular 13-gon.

Crossrefs

Programs

  • Magma
    R:=PowerSeriesRing(Integers(), 30); Coefficients(R!( 1/(1-11*x+45*x^2 -84*x^3+70*x^4-21*x^5+x^6) )); // G. C. Greubel, Nov 29 2021
    
  • Maple
    A122589:= proc(n) coeftayl(1/(4096-11264*x^2+11520*x^4-5376*x^6+1120*x^8-84*x^10 +x^12), x=0,2*n); %*2^(2*n+12); end: seq(A122589(n), n=0..30); # R. J. Mathar, Sep 21 2007
  • Mathematica
    m=12; p[x_]:= ExpandAll[x^m*ChebyshevU[m, 1/x]]; Table[ SeriesCoefficient[ Series[2^(n+m-1)*x/p[x], {x,0,30}], n], {n,1,30,2}]
  • Sage
    def A122589_list(prec):
        P. = PowerSeriesRing(ZZ, prec)
        return P( 1/(1-11*x+45*x^2-84*x^3+70*x^4-21*x^5+x^6) ).list()
    A122589_list(30) # G. C. Greubel, Nov 29 2021

Formula

G.f.: 1/(1 - 11*x + 45*x^2 - 84*x^3 + 70*x^4 - 21*x^5 + x^6). - Colin Barker, Oct 16 2013

Extensions

Edited by N. J. A. Sloane, Oct 02 2006
More terms from R. J. Mathar, Sep 21 2007
New name from Colin Barker, Oct 16 2013

A370051 Expansion of (1-5*x+6*x^2-x^3)/(1-9*x+28*x^2-35*x^3+15*x^4-x^5).

Original entry on oeis.org

1, 4, 14, 48, 165, 572, 2002, 7071, 25176, 90251, 325358, 1178291, 4282811, 15612092, 57040186, 208772476, 765186422, 2807556411, 10309833845, 37883902913, 139275229088, 512223805060, 1884404481767, 6934058102453, 25519786076294
Offset: 0

Views

Author

Peter Morris, Feb 08 2024

Keywords

Comments

In Pascal's triangle, subtract the 6th column to the left of the central column from the 2nd column.

Examples

			a(0) = binomial(2,0);
a(1) = binomial(4,1);
a(2) = binomial(6,2) - binomial(6,0);
a(3) = binomial(8,3) - binomial(8,1);
a(4) = binomial(10,4) - binomial(10,2).
		

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{9, -28, 35, -15, 1}, {1, 4, 14, 48, 165}, 30] (* Paolo Xausa, Feb 20 2024 *)

Formula

a(n) = 9*a(n-1) - 28*a(n-2) + 35*a(n-3) - 15*a(n-4) + a(n-5); a(0) = 1, a(1) = 4, a(2) = 14, a(3) = 48, a(4) = 165.

A370074 Expansion of (1 - 2*x) * (1 - 4*x + 2*x^2) / (1 - 9*x + 28*x^2 - 35*x^3 + 15*x^4 - x^5).

Original entry on oeis.org

1, 3, 9, 28, 90, 297, 1001, 3432, 11933, 41971, 149017, 533141, 1919215, 6942950, 25215181, 91858456, 335449202, 1227312350, 4496994689, 16496266812, 60566602692, 222524531559, 817997639090, 3008175954887, 11066005530460, 40717739034761
Offset: 0

Views

Author

Peter Morris, Feb 08 2024

Keywords

Comments

The sequence is constructed from a truncated version of Pascal's Triangle.
1
1 1
1 2 1
3 3 1
3 6 4 1
9 10 5 1
9 19 15 6 1
28 34 21 7 1
28 62 55 28 8
90 117 83 36 8
90 207 200 119 44
297 407 319 163 44
...
After truncation the sequence appears as the left vertical column. The right column sequence can be found in A370568. a(n) arises from the Gambler's Ruin problem and it represents the number of ways a gambler is ruined in the Gambler's Ruin problem starting with $3 and with a maximum $11 causing retirement.

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{9, -28, 35, -15, 1},{1,3,9,28,90},26] (* James C. McMahon, Mar 12 2024 *)

Formula

a(n) = 9*a(n-1) - 28*a(n-2) + 35*a(n-3) - 15*a(n-4) + a(n-5) for n >= 5.

A370568 Expansion of g.f. (1-x) / (1-9*x+28*x^2-35*x^3+15*x^4-x^5).

Original entry on oeis.org

1, 8, 44, 207, 896, 3689, 14706, 57361, 220363, 837430, 3157440, 11835916, 44176890, 164355675, 609981045, 2259680355, 8359285126, 30890694534, 114059719703, 420887785505, 1552362630016, 5723494732725, 21096366345741, 77742879583057, 286445422547405
Offset: 0

Views

Author

Peter Morris, Feb 22 2024

Keywords

Comments

The sequence is constructed from a truncated version of Pascal's Triangle. See A370074 for an example. a(n) arises from the Gambler's Ruin problem and represents the number of ways a gambler is ruined after starting with $8 with a maximum $11 causing retirement.

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{9, -28, 35, -15, 1}, {1, 8, 44, 207, 896}, 25] (* Paolo Xausa, Jun 09 2024 *)

Formula

a(n) = 9*a(n-1)-28*a(n-2)+35*a(n-3)-15*a(n-4)+a(n-5) for n>=5.

A370391 Expansion of (1 - 2*x)/(1 - 9*x + 28*x^2 - 35*x^3 + 15*x^4 - x^5).

Original entry on oeis.org

1, 7, 35, 154, 636, 2533, 9861, 37810, 143451, 540155, 2022735, 7543771, 28048829, 104050724, 385320419, 1425038684, 5264963100, 19437087382, 71715418017, 264483764116, 975070823122, 3593840295815, 13243217176106, 48793364067681, 179753027448972
Offset: 0

Views

Author

Peter Morris, Feb 22 2024

Keywords

Comments

The sequence is constructed by a truncated version of Pascal's Triangle.
1
1 1
1 2 1
1 3 3 1
1 4 6 4
1 5 10 10 4
1 6 15 20 14
7 21 35 34 14
7 28 56 69 48
35 84 125 117 48
35 119 209 242 165
...
After truncation the sequence appears as the left vertical column. The right column sequence can be in A370051.
a(n) arises from the Gambler's Ruin problem and represents the number of ways a gambler is ruined after starting with $7 with a maximum $11 causing retirement.

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{9, -28, 35, -15, 1}, {1, 7,35,154,636}, 25] (* James C. McMahon, Mar 12 2024 *)

Formula

a(n) = 9*a(n-1) - 28*a(n-2) + 35*a(n-3) - 15*a(n-4) + a(n-5).
Showing 1-5 of 5 results.