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.

Previous Showing 11-17 of 17 results.

A145126 a(n) = 1 + (6 + (11 + (6 + n)*n)*n)*n/24.

Original entry on oeis.org

1, 2, 6, 16, 36, 71, 127, 211, 331, 496, 716, 1002, 1366, 1821, 2381, 3061, 3877, 4846, 5986, 7316, 8856, 10627, 12651, 14951, 17551, 20476, 23752, 27406, 31466, 35961, 40921, 46377, 52361, 58906, 66046, 73816, 82252, 91391, 101271, 111931, 123411, 135752
Offset: 0

Views

Author

Alois P. Heinz, Oct 03 2008

Keywords

Comments

From Gary W. Adamson, Jul 31 2010: (Start)
Equals (1, 2, 3, 4, 5, ...) convolved with (1, 0, 3, 6, 10, 15, ...).
Example: a(4) = 36 = (5, 4, 3, 2, 1) dot (1, 0, 3, 6, 10) = (5 + 0 + 9 + 12 + 10). (End)
Also the number of permutations of length n that can be sorted by a single block interchange (in the sense of Christie). - Vincent Vatter, Aug 21 2013

Crossrefs

5th row of A145153. See row 5 of A145140/A145141 for rational coefficients and A145142 for 24 * coefficients of polynomial.

Programs

  • Maple
    a:= n-> 1+ (6+ (11+ (6+ n) *n) *n) *n/24: seq(a(n), n=0..40);
    # second Maple program:
    with(combinat): seq(binomial(n+3, 4)+1, n=0..40); # Zerinvary Lajos, Mar 24 2009
  • Mathematica
    a=b=s=0;lst={a};Do[a+=n;b+=a;s+=b;AppendTo[lst,s],{n,6!}];lst+1 (* Vladimir Joseph Stephan Orlovsky, Jun 14 2009 *)
    CoefficientList[Series[(x^4 - 4 x^3 + 6 x^2 - 3 x + 1) / (1 - x)^5, {x, 0, 50}], x] (* Vincenzo Librandi, Jun 06 2013 *)
  • PARI
    Vec((x^4-4*x^3+6*x^2-3*x+1)/(1-x)^5 + O(x^50)) \\ Altug Alkan, Nov 24 2015

Formula

G.f.: (x^4-4*x^3+6*x^2-3*x+1) / (1-x)^5.
a(n) = C(n+3,4)+1. - Zerinvary Lajos, Mar 24 2009

A145140 Numerators of triangle T(n,k), n>=1, 0<=k<=n - 1, read by rows: T(n,k) is the coefficient of x^k in polynomial p_n for the n-th row sequence of A145153.

Original entry on oeis.org

1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 11, 1, 1, 1, 6, 5, 7, 1, 1, 1, 5, 317, 5, 17, 1, 1, 1, 83, 27, 22, 7, 5, 1, 1, 2, 53, 5989, 1069, 1207, 7, 23, 1, 1, 3, 611, 2743, 93791, 149, 1213, 1, 13, 1, 1, 4, 101, 25523, 5419, 20071, 397, 3253, 1, 29, 1, 1, 5, 32419, 11017, 30731, 21757
Offset: 1

Views

Author

Alois P. Heinz, Oct 03 2008

Keywords

Examples

			1, 0, 1, 0, 1/2, 1/2, 0, 1/3, 1/2, 1/6, 1, 1/4, 11/24, 1/4, 1/24, 1, 6/5, 5/12, 7/24, 1/12, 1/120, 1, 5/3, 317/360, 5/16, 17/144, 1/48, 1/720 ... = A145140/A145141
As triangle:
  1
  0 1
  0 1/2 1/2
  0 1/3 1/2 1/6
  1 1/4 11/24 1/4 1/24
  1 6/5 5/12 7/24 1/12 1/120
		

Crossrefs

Denominators of T(n, k): A145141. T(n, k)*(n-1)!: A145142.
Row sums give: A003269, A017898(n+3).

Programs

  • Maple
    row:= proc(n) option remember; local f,i,x; f:= unapply(simplify(sum('cat(a||i) *x^i', 'i'=0..n-1) ), x); unapply(subs(solve({seq(f(i+1)= coeftayl(x/ (1-x-x^4)/ (1-x)^i, x=0, n), i=0..n-1)}, {seq(cat(a||i), i=0..n-1)}), sum('cat(a||i) *x^i', 'i'=0..n-1) ), x); end: T:= (n,k)-> coeff(row(n)(x), x, k): seq(seq(numer(T(n,k)), k=0..n-1), n=1..14);
  • Mathematica
    row[n_] := Module[{f, eq}, f = Function[x, Sum[a[k]*x^k, {k, 0, n-1}]]; eq = Table[f[k+1] == SeriesCoefficient[x/(1-x-x^4)/(1-x)^k, {x, 0, n}], {k, 0, n-1}]; Table[a[k], {k, 0, n-1}] /. Solve[eq] // First]; Table[row[n] // Numerator, {n, 1, 14}] // Flatten (* Jean-François Alcover, Feb 04 2014, after Alois P. Heinz *)

Formula

See program.

A145127 a(n) = 1 + (144 + (50 + (35 + (10 + n)*n)*n)*n)*n/120.

Original entry on oeis.org

1, 3, 9, 25, 61, 132, 259, 470, 801, 1297, 2013, 3015, 4381, 6202, 8583, 11644, 15521, 20367, 26353, 33669, 42525, 53152, 65803, 80754, 98305, 118781, 142533, 169939, 201405, 237366, 278287, 324664, 377025, 435931, 501977, 575793, 658045, 749436
Offset: 0

Views

Author

Alois P. Heinz, Oct 03 2008

Keywords

Comments

(1 + 3x + 9x^2 + ...) = (1 + 3x + 6x^2 + 10x^3 + ...) * (1 + 3x^2 + 6x^3 + 10x^4 + ...). - Gary W. Adamson, Jul 27 2010

Crossrefs

6th row of A145153. See row 6 of A145140/A145141 for rational coefficients and A145142 for 120 * coefficients of polynomial.

Programs

  • Magma
    [1 + (144 + (50 + (35 + (10 + n)*n)*n)*n)*n/120: n in [0..40]]; // Vincenzo Librandi, May 19 2011
  • Maple
    a := n-> 1+ (144+ (50+ (35+ (10+ n) *n) *n) *n) *n/120: seq (a(n), n=0..40);

Formula

G.f.: (x^4 - 4*x^3 + 6*x^2 - 3*x + 1) / (1-x)^6.

A145128 a(n) = 1 + (1200 + (634 + (225 + (85 + (15 + n)*n)*n)*n)*n)*n/720.

Original entry on oeis.org

1, 4, 13, 38, 99, 231, 490, 960, 1761, 3058, 5071, 8086, 12467, 18669, 27252, 38896, 54417, 74784, 101137, 134806, 177331, 230483, 296286, 377040, 475345, 594126, 736659, 906598, 1108003, 1345369, 1623656, 1948320, 2325345, 2761276, 3263253, 3839046, 4497091
Offset: 0

Views

Author

Alois P. Heinz, Oct 03 2008

Keywords

Crossrefs

7th row of A145153. See row 7 of A145140/A145141 for rational coefficients and A145142 for 720 * coefficients of polynomial.

Programs

  • Maple
    a := n-> 1+ (1200+ (634+ (225+ (85+ (15+ n) *n) *n) *n) *n) *n/720: seq (a(n), n=0..40);

Formula

G.f.: (x^4-4*x^3+6*x^2-3*x+1) / (1-x)^7.

A145129 1 + (9960 + (6804 + (2464 + (735 + (175 + (21 + n)*n)*n)*n)*n)*n)*n/5040.

Original entry on oeis.org

1, 5, 18, 56, 155, 386, 876, 1836, 3597, 6655, 11726, 19812, 32279, 50948, 78200, 117096, 171513, 246297, 347434, 482240, 659571, 890054, 1186340, 1563380, 2038725, 2632851, 3369510, 4276108, 5384111, 6729480, 8353136, 10301456, 12626801, 15388077, 18651330
Offset: 0

Views

Author

Alois P. Heinz, Oct 03 2008

Keywords

Crossrefs

8th row of A145153. See row 8 of A145140/A145141 for rational coefficients and A145142 for 5040 * coefficients of polynomial.

Programs

  • Maple
    a := n-> 1+ (9960+ (6804+ (2464+ (735+ (175+ (21+ n) *n) *n) *n) *n) *n) *n/5040: seq(a(n), n=0..40);
  • Mathematica
    CoefficientList[Series[(x^4 - 4 x^3 + 6 x^2 - 3 x + 1) / (1 - x)^8, {x, 0, 50}], x] (* Vincenzo Librandi, Jun 06 2013 *)

Formula

G.f.: (x^4-4*x^3+6*x^2-3*x+1) / (1-x)^8.

A145130 2 + (89040 + (71868 + (29932 + (8449 + (1960 + (322 + (28 + n)*n)*n)*n)*n)*n)*n)*n/40320.

Original entry on oeis.org

2, 7, 25, 81, 236, 622, 1498, 3334, 6931, 13586, 25312, 45124, 77403, 128351, 206551, 323647, 495160, 741457, 1088891, 1571131, 2230702, 3120756, 4307096, 5870476, 7909201, 10542052, 13911562, 18187670, 23571781, 30301261, 38654397, 48955853, 61582654
Offset: 0

Views

Author

Alois P. Heinz, Oct 03 2008

Keywords

Crossrefs

9th row of A145153. See row 9 of A145140/A145141 for rational coefficients and A145142 for 40320 * coefficients of polynomial.

Programs

  • Maple
    a:= n-> 2+ (89040+ (71868+ (29932+ (8449+ (1960+ (322+ (28+ n) *n) *n) *n) *n) *n) *n) *n/40320: seq (a(n), n=0..40);
  • Mathematica
    Table[2+(89040+(71868+(29932+(8449+(1960+(322+(28+n)n)n)n)n)n)n)n/40320,{n,0,40}] (* or *) LinearRecurrence[{9,-36,84,-126,126,-84,36,-9,1},{2,7,25,81,236,622,1498,3334,6931},40](* Harvey P. Dale, Dec 25 2011 *)
    CoefficientList[Series[(x^8 - 8 x^7 + 28 x^6 - 56 x^5 + 71 x^4 - 60 x^3 + 34 x^2 - 11 x + 2) / (1 - x)^9, {x, 0, 50}], x] (* Vincenzo Librandi, Jun 06 2013 *)
  • PARI
    a(n)=2+(89040+(71868+(29932+(8449+(1960+(322+(28+n)*n)*n)*n)*n)*n)*n)*n/40320 \\ Charles R Greathouse IV, Oct 07 2015

Formula

G.f.: (x^8-8*x^7+28*x^6-56*x^5+71*x^4-60*x^3+34*x^2-11*x+2) / (1-x)^9.
a(0)=2, a(1)=7, a(2)=25, a(3)=81, a(4)=236, a(5)=622, a(6)=1498, a(7)=3334, a(8)=6931, a(n)=9*a(n-1)-36*a(n-2)+84*a(n-3) -126*a(n-4) +126*a(n-5) -84*a(n-6) +36*a(n-7) -9*a(n-8) +a(n-9). - Harvey P. Dale, Dec 25 2011

A052593 E.g.f. 1/(1-x-x^4).

Original entry on oeis.org

1, 1, 2, 6, 48, 360, 2880, 25200, 282240, 3628800, 50803200, 758419200, 12454041600, 224172748800, 4358914560000, 90229531392000, 1987665039360000, 46595053080576000, 1158829640736768000, 30411275102208000000, 839351192820940800000, 24319288473733693440000
Offset: 0

Views

Author

encyclopedia(AT)pommard.inria.fr, Jan 25 2000

Keywords

Crossrefs

Row sums of A145142. - Alois P. Heinz, Jun 01 2009

Programs

  • Maple
    spec := [S,{S=Sequence(Union(Z,Prod(Z,Z,Z,Z)))},labeled]: seq(combstruct[count](spec,size=n), n=0..20);
    a:= n-> n! * (Matrix([[1,1,0,0], [0,0,1,0], [0,0,0,1], [1,0,0,0]])^n)[1,1]: seq(a(n), n=0..20);  # Alois P. Heinz, Jun 01 2009
  • Mathematica
    With[{nn=20},CoefficientList[Series[1/(1-x-x^4),{x,0,nn}],x] Range[0,nn]!] (* Harvey P. Dale, Feb 02 2012 *)

Formula

E.g.f.: -1/(-1+x^4+x).
Recurrence: {a(1)=1, a(0)=1, a(3)=6, a(2)=2, (-n^4-35*n^2-50*n-24-10*n^3)*a(n) +(-n-4)*a(n+3) +a(n+4)=0}
Sum(1/283*(27+36*_alpha^3+48*_alpha^2+64*_alpha)*_alpha^(-1-n), _alpha=RootOf(-1+_Z^4+_Z))*n!
a(n) = n!*A003269(n+1). - R. J. Mathar, Nov 27 2011
Previous Showing 11-17 of 17 results.