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

A034975 One seventh of octo-factorial numbers.

Original entry on oeis.org

1, 15, 345, 10695, 417105, 19603935, 1078216425, 67927634775, 4822862069025, 381006103452975, 33147531000408825, 3149015445038838375, 324348590839000352625, 36002693583129039141375, 4284320536392355657823625, 544108708121829168543600375, 73454675596446937753386050625
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Magma
    [n le 1 select 1 else (8*n-1)*Self(n-1): n in [1..40]]; // G. C. Greubel, Oct 21 2022
    
  • Mathematica
    Table[8^n*Pochhammer[7/8, n]/7, {n, 40}] (* G. C. Greubel, Oct 21 2022 *)
  • SageMath
    [8^n*rising_factorial(7/8,n)/7 for n in range(1,40)] # G. C. Greubel, Oct 21 2022

Formula

7*a(n) = (8*n-1)!^8 = Product_{j=1..n} (8*j-1) = (8*n)!/((2*n)!*2^(6*n)*3^2*5 * A045755(n)*A007696(n)*A034909(n)*A034911(n)*A034176(n)).
E.g.f.: (-1+(1-8*x)^(-7/8))/7.
G.f.: x/(1-15*x/(1-8*x/(1-23*x/(1-16*x/(1-31*x/(1-24*x/(1-39*x/(1-32*x/(1-... (continued fraction). - Philippe Deléham, Jan 07 2012
a(n) = (1/7) * 8^n * Pochhammer(n, 7/8). - G. C. Greubel, Oct 21 2022
From Amiram Eldar, Dec 20 2022: (Start)
a(n) = A049210(n)/7.
Sum_{n>=1} 1/a(n) = 7*(e/8)^(1/8)*(Gamma(7/8) - Gamma(7/8, 1/8)). (End)

A051620 a(n) = (4*n+8)(!^4)/8(!^4), related to A034177(n+1) ((4*n+4)(!^4) quartic, or 4-factorials).

Original entry on oeis.org

1, 12, 192, 3840, 92160, 2580480, 82575360, 2972712960, 118908518400, 5231974809600, 251134790860800, 13059009124761600, 731304510986649600, 43878270659198976000, 2808209322188734464000, 190958233908833943552000
Offset: 0

Views

Author

Keywords

Comments

Row m=8 of the array A(5; m,n) := ((4*n+m)(!^4))/m(!^4), m >= 0, n >= 0.

Crossrefs

Cf. A047053, A007696(n+1), A000407, A034176(n+1), A034177(n+1), A051617-A051622 (rows m=0..10).

Programs

  • Magma
    m:=30; R:=PowerSeriesRing(Rationals(), m); b:=Coefficients(R!(1/(1-4*x)^(12/4))); [Factorial(n-1)*b[n]: n in [1..m]]; // G. C. Greubel, Aug 15 2018
  • Maple
    G(x):=(1-4*x)^(n-4): f[0]:=G(x): for n from 1 to 29 do f[n]:=diff(f[n-1],x) od:x:=0:seq(f[n],n=0..15); # Zerinvary Lajos, Apr 04 2009
  • Mathematica
    s=1;lst={s};Do[s+=n*s;AppendTo[lst, s], {n, 11, 5!, 4}];lst (* Vladimir Joseph Stephan Orlovsky, Nov 08 2008 *)
    With[{nn=20},CoefficientList[Series[1/(1-4*x)^3,{x,0,nn}],x] Range[0,nn]!] (* Harvey P. Dale, Mar 10 2017 *)
  • PARI
    x='x+O('x^30); Vec(serlaplace(1/(1-4*x)^(12/4))) \\ G. C. Greubel, Aug 15 2018
    

Formula

a(n) = ((4*n+8)(!^4))/8(!^4) = A034177(n+2)/8.
E.g.f.: 1/(1-4*x)^3.
G.f.: G(0)/2, where G(k)= 1 + 1/(1 - 2*x/(2*x + 1/(2*k+6)/G(k+1))); (continued fraction). - Sergei N. Gladkovskii, Jun 02 2013

A049213 A convolution triangle of numbers obtained from A025749.

Original entry on oeis.org

1, 6, 1, 56, 12, 1, 616, 148, 18, 1, 7392, 1904, 276, 24, 1, 93632, 25312, 4080, 440, 30, 1, 1230592, 344960, 59808, 7360, 640, 36, 1, 16612992, 4792128, 876960, 118224, 11960, 876, 42, 1, 228890112, 67586816, 12900416, 1860992, 209200, 18096, 1148
Offset: 1

Views

Author

Keywords

Comments

a(n,1) = A025749(n); a(n,1)= 4^(n-1)*3*A034176(n-1)/n!, n >= 2.
G.f. for m-th column: ((1-(1-16*x)^(1/4))/4)^m.

Crossrefs

Cf. A048966. Row sums = A025757.

Programs

  • Mathematica
    a[n_, n_] = 1; a[n_, m_] := m/n * 4^(n-m) * Sum[ Binomial[n+k-1, n-1] * Sum[ Binomial[j, n-m-3*k+2*j] * 4^(j-k) * Binomial[k, j] * 3^(-n+m+3*k-j) * 2^(n-m-3*k+j) * (-1)^(n-m-3*k+2*j), {j, 0, k}], {k, 1, n-m}]; Table[a[n, m], {n, 1, 9}, {m, 1, n}] // Flatten (* Jean-François Alcover, Jul 05 2013, after Vladimir Kruchinin *)

Formula

a(n, m) = 4*(4*(n-1)-m)*a(n-1, m)/n + m*a(n-1, m-1)/n, n >= m >= 1; a(n, m) := 0, n < m; a(n, 0) := 0; a(1, 1)=1.
a(n,m) = (m/n) * 4^(n-m) * Sum_{k=1..n-m} binomial(n+k-1, n-1) * Sum_{j=0..k} binomial(j, n-m-3*k+2*j) * 4^(j-k) * binomial(k,j) * 3^(-n+m+3*k-j) * 2^(n-m-3*k+j) * (-1)^(n-m-3*k+2*j), n > m; a(n,n)=1. - Vladimir Kruchinin, Feb 08 2011

A051621 a(n) = (4*n+9)(!^4)/9(!^4), related to A007696(n+1) ((4*n+1)(!^4) quartic, or 4-factorials).

Original entry on oeis.org

1, 13, 221, 4641, 116025, 3364725, 111035925, 4108329225, 168441498225, 7579867420125, 371413503586125, 19684915690064625, 1122040194333683625, 68444451854354701125, 4448889370533055573125, 306973366566780834545625
Offset: 0

Views

Author

Keywords

Comments

Row m=9 of the array A(5; m,n) := ((4*n+m)(!^4))/m(!^4), m >= 0, n >= 0.

Crossrefs

Cf. A047053, A007696(n+1), A000407, A034176(n+1), A034177(n+1), A051617-A051622 (rows m=0..10).

Programs

  • Magma
    m:=30; R:=PowerSeriesRing(Rationals(), m); b:=Coefficients(R!(1/(1-4*x)^(13/4))); [Factorial(n-1)*b[n]: n in [1..m]]; // G. C. Greubel, Aug 15 2018
  • Mathematica
    s=1;lst={s};Do[s+=n*s;AppendTo[lst, s], {n, 12, 5!, 4}];lst (* Vladimir Joseph Stephan Orlovsky, Nov 08 2008 *)
    With[{nn = 30}, CoefficientList[Series[1/(1 - 4*x)^(13/4), {x, 0, nn}], x]*Range[0, nn]!] (* G. C. Greubel, Aug 15 2018 *)
  • PARI
    x='x+O('x^30); Vec(serlaplace(1/(1-4*x)^(13/4))) \\ G. C. Greubel, Aug 15 2018
    

Formula

a(n) = ((4*n+9)(!^4))/9(!^4) = A007696(n+3)/(5*9).
E.g.f.: 1/(1-4*x)^(13/4).

A370915 A(n, k) = 4^n*Pochhammer(k/4, n). Square array read by ascending antidiagonals.

Original entry on oeis.org

1, 0, 1, 0, 1, 1, 0, 5, 2, 1, 0, 45, 12, 3, 1, 0, 585, 120, 21, 4, 1, 0, 9945, 1680, 231, 32, 5, 1, 0, 208845, 30240, 3465, 384, 45, 6, 1, 0, 5221125, 665280, 65835, 6144, 585, 60, 7, 1, 0, 151412625, 17297280, 1514205, 122880, 9945, 840, 77, 8, 1
Offset: 0

Views

Author

Peter Luschny, Mar 06 2024

Keywords

Comments

The sequence of square arrays A(m, n, k) starts: A094587 (m = 1), A370419 (m = 2), A371077(m = 3), this array (m = 4).

Examples

			The array starts:
[0] 1,    1,     1,     1,      1,      1,      1,      1,      1, ...
[1] 0,    1,     2,     3,      4,      5,      6,      7,      8, ...
[2] 0,    5,    12,    21,     32,     45,     60,     77,     96, ...
[3] 0,   45,   120,   231,    384,    585,    840,   1155,   1536, ...
[4] 0,  585,  1680,  3465,   6144,   9945,  15120,  21945,  30720, ...
[5] 0, 9945, 30240, 65835, 122880, 208845, 332640, 504735, 737280, ...
.
Seen as the triangle T(n, k) = A(n - k, k):
[0] 1;
[1] 0,      1;
[2] 0,      1,     1;
[3] 0,      5,     2,    1;
[4] 0,     45,    12,    3,   1;
[5] 0,    585,   120,   21,   4,  1;
[6] 0,   9945,  1680,  231,  32,  5, 1;
[7] 0, 208845, 30240, 3465, 384, 45, 6, 1;
		

Crossrefs

Similar square arrays: A094587, A370419, A371077.
Cf. A370913 (row sums of triangle), A371026.

Programs

  • Maple
    A := (n, k) -> 4^n*pochhammer(k/4, n):
    for n from 0 to 5 do seq(A(n, k), k = 0..9) od;
    T := (n, k) -> A(n - k, k): seq(seq(T(n, k), k = 0..n), n = 0..9);
    # Using the exponential generating functions of the columns:
    EGFcol := proc(k, len) local egf, ser, n; egf := (1 - 4*x)^(-k/4);
    ser := series(egf, x, len+2): seq(n!*coeff(ser, x, n), n = 0..len) end:
    seq(lprint(EGFcol(n, 9)), n = 0..5);
    # Using the generating polynomials for the rows:
    P := (n, x) -> local k; add(Stirling1(n, k)*(-4)^(n - k)*x^k, k=0..n):
    seq(lprint([n], seq(P(n, k), k = 0..8)), n = 0..5);
    # Implementing the LU decomposition of A:
    with(LinearAlgebra):
    L := Matrix(7, 7, (n, k) -> A371026(n-1, k-1)):
    U := Matrix(7, 7, (n, k) -> binomial(n-1, k-1)):
    MatrixMatrixMultiply(L, Transpose(U));
  • Mathematica
    A[n_, k_] := 4^n * Pochhammer[k/4, n]; Table[A[n - k, k], {n, 0, 9}, {k, 0, n}] // Flatten (* Amiram Eldar, Mar 06 2024 *)
  • SageMath
    def A(n, k): return 4**n * rising_factorial(k/4, n)
    for n in range(6): print([A(n, k) for k in range(9)])

Formula

A(n, k) = 4^n*Product_{j=0..n-1} (j + k/4).
A(n, k) = 4^n*Gamma(k/4 + n) / Gamma(k/4) for k >= 1.
The exponential generating function for column k is (1 - 4*x)^(-k/4). But much more is true: (1 - m*x)^(-k/m) are the exponential generating functions for the columns of the arrays A(m, n, k) = m^n*Pochhammer(k/m, n).
The polynomials P(n, x) = Sum_{k=0..n} Stirling1(n, k)*(-4)^(n-k)*x^k are ordinary generating functions for row n, i.e., A(n, k) = P(n, k).
In A370419 Werner Schulte pointed out how A371025 is related to the LU decomposition of A370419. Here the same procedure can be used and amounts to A = A371026 * transpose(binomial triangle), where '*' denotes matrix multiplication. See the Maple section for an implementation.

A081407 4th-order non-linear ("factorial") recursion: a(0)=a(1)=a(2)=a(3)=1, a(n) = (n+1)*a(n-4).

Original entry on oeis.org

1, 1, 1, 1, 5, 6, 7, 8, 45, 60, 77, 96, 585, 840, 1155, 1536, 9945, 15120, 21945, 30720, 208845, 332640, 504735, 737280, 5221125, 8648640, 13627845, 20643840, 151412625, 259459200, 422463195, 660602880, 4996616625, 8821612800
Offset: 0

Views

Author

Labos Elemer, Apr 01 2003

Keywords

Examples

			Following sequences are interleaved: A007696: {5,45,585,..}; A000404: {6,60,840,..} A034176: {7,77,1155,..}; A034177: {8,96,1536,..}
		

Crossrefs

Programs

  • GAP
    a:= function(k)
        if k<4 then return 1;
        elif k<7 then return k+1;
        else return (k+1)*a(k-4);
        fi;
      end;
    List([0..35], n-> a(n) ); # G. C. Greubel, Aug 24 2019
  • Haskell
    a081407 n = a081408_list !! n
    a081407_list = 1 : 1 : 1 : 1 : zipWith (*) [5..] a081407_list
    -- Reinhard Zumkeller, Jan 05 2012
    
  • Magma
    a:= func< n | n le 3 select 1 else n in [4..6] select n+1 else (n+1)*Self(n-3) >;
    [a(n): n in [0..35]]; // G. C. Greubel, Aug 24 2019
    
  • Mathematica
    f[n_]:= (n+1)*f[n-4]; f[0]=1; f[1]=1; f[2]=1; f[3]=1; Table[f[n], {n, 0, 40}]
    nxt[{n_,a_,b_,c_,d_}]:={n+1,b,c,d,a(n+2)}; NestList[nxt,{3,1,1,1,1},40][[;;,2]] (* Harvey P. Dale, Jan 13 2025 *)
  • PARI
    a(n) = if(n<4, 1, (n+1)*a(n-4) );
    vector(35, n, a(n-1)) \\ G. C. Greubel, Aug 24 2019
    
  • Sage
    def a(n):
        if n<4: return 1
        elif 4<= n <= 6: return n+1
        else: return (n+1)*a(n-4)
    [a(n) for n in (0..35)] # G. C. Greubel, Aug 24 2019
    

A081408 a(n) = (n+1)*a(n-5), with a(0)=a(1)=a(2)=a(3)=a(4)=1.

Original entry on oeis.org

1, 1, 1, 1, 1, 6, 7, 8, 9, 10, 66, 84, 104, 126, 150, 1056, 1428, 1872, 2394, 3000, 22176, 31416, 43056, 57456, 75000, 576576, 848232, 1205568, 1666224, 2250000, 17873856, 27143424, 39783744, 56651616, 78750000, 643458816, 1004306688, 1511782272
Offset: 0

Views

Author

Labos Elemer, Apr 01 2003

Keywords

Comments

Quintic factorial sequences are generated by single 5-order recursion and appear in unified form.

Examples

			A008548, A034323, A034300, A034301, A034325 sequences are combed together as A081408(5n+r) with r=0,1,2,3,4.
		

Crossrefs

Cf. A001147, A002866, A034001, A007599, A034000, A007696, A000407, A034176, A034177, A008548, A034323, A034300, A034301, A034325 [double, triple, quartic, quintic, factorial subsequences], generated together in A081405-A081408.

Programs

  • GAP
    a:=[1,1,1,1,1];; for n in [6..40] do a[n]:=n*a[n-5]; od; a; # G. C. Greubel, Aug 15 2019
  • Haskell
    a081407 n = a081408_list !! n
    a081407_list = 1 : 1 : 1 : 1 : zipWith (*) [5..] a081407_list
    -- Reinhard Zumkeller, Jan 05 2012
    
  • Magma
    [n le 5 select 1 else n*Self(n-5): n in [1..40]]; // G. C. Greubel, Aug 15 2019
    
  • Mathematica
    a[0]=a[1]=a[2]=a[3]=a[4]=1; a[x_]:= (x+1)*a[x-5]; Table[a[n], {n, 40}]
  • PARI
    m=30; v=concat([1,1,1,1,1], vector(m-5)); for(n=6, m, v[n]=n*v[n-5] ); v \\ G. C. Greubel, Aug 15 2019
    
  • Sage
    def a(n):
        if (n<5): return 1
        else: return (n+1)*a(n-5)
    [a(n) for n in (0..40)] # G. C. Greubel, Aug 15 2019
    

A225478 Triangle read by rows, 4^k*s_4(n, k) where s_m(n, k) are the Stirling-Frobenius cycle numbers of order m; n >= 0, k >= 0.

Original entry on oeis.org

1, 3, 4, 21, 40, 16, 231, 524, 336, 64, 3465, 8784, 7136, 2304, 256, 65835, 180756, 170720, 72320, 14080, 1024, 1514205, 4420728, 4649584, 2346240, 613120, 79872, 4096, 40883535, 125416476, 143221680, 81946816, 25939200, 4609024, 430080, 16384, 1267389585, 4051444896, 4941537984, 3113238016, 1131902464, 246636544, 31768576, 2228224, 65536
Offset: 0

Views

Author

Peter Luschny, May 17 2013

Keywords

Comments

Triangle T(n,k), read by rows, given by (3, 4, 7, 8, 11, 12, 15, 16, ... (A014601)) DELTA (4, 0, 4, 0, 4, 0, 4, 0, ...) where DELTA is the operator defined in A084938. - Philippe Deléham, May 14 2015.

Examples

			[n\k][    0,       1,       2,       3,      4,     5,    6 ]
[0]       1,
[1]       3,       4,
[2]      21,      40,      16,
[3]     231,     524,     336,      64,
[4]    3465,    8784,    7136,    2304,    256,
[5]   65835,  180756,  170720,   72320,  14080,  1024,
[6] 1514205, 4420728, 4649584, 2346240, 613120, 79872, 4096.
		

Crossrefs

T(n, 0) ~ A008545; T(n, n) ~ A000302; T(n, n-1) ~ A002700.
row sums ~ A034176; alternating row sums ~ A008545.
Cf. A225471, A132393 (m=1), A028338 (m=2), A225477 (m=3).

Programs

  • Mathematica
    s[][0, 0] = 1; s[m][n_, k_] /; (k > n || k < 0) = 0; s[m_][n_, k_] := s[m][n, k] = s[m][n - 1, k - 1] + (m*n - 1)*s[m][n - 1, k];
    T[n_, k_] := 4^k*s[4][n, k];
    Table[T[n, k], {n, 0, 8}, {k, 0, n}] // Flatten (* Jean-François Alcover, Aug 02 2019 *)
  • Sage
    @CachedFunction
    def SF_CS(n, k, m):
        if k > n or k < 0 : return 0
        if n == 0 and k == 0: return 1
        return m*SF_CS(n-1, k-1, m) + (m*n-1)*SF_CS(n-1, k, m)
    for n in (0..8): [SF_CS(n, k, 4) for k in (0..n)]

Formula

For a recurrence see the Sage program.
T(n,k) = 4^k * A225471(n,k). - Philippe Deléham, May 14 2015.
Previous Showing 11-18 of 18 results.