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

A006480 De Bruijn's S(3,n): (3n)!/(n!)^3.

Original entry on oeis.org

1, 6, 90, 1680, 34650, 756756, 17153136, 399072960, 9465511770, 227873431500, 5550996791340, 136526995463040, 3384731762521200, 84478098072866400, 2120572665910728000, 53494979785374631680, 1355345464406015082330, 34469858696831179429500, 879619727485803060256500, 22514366432046593564460000
Offset: 0

Views

Author

Keywords

Comments

Number of paths of length 3n in an n X n X n grid from (0,0,0) to (n,n,n), using steps (0,0,1), (0,1,0), and (1,0,0).
Appears in Ramanujan's theory of elliptic functions of signature 3.
S(s,n) = Sum_{k=0..2n} (-1)^(k+n) * binomial(2n, k)^s. The formula S(3,n) = (3n)!/(n!)^3 is due to Dixon (according to W. N. Bailey 1935). - Charles R Greathouse IV, Dec 28 2011
a(n) is the number of ballot results that end in a 3-way tie when 3n voters each cast two votes for two out of three candidates vying for 2 slots on a county board; in such a tie, each of the three candidates receives 2n votes. Note there are C(3n,2n) ways to choose the voters who cast a vote for the youngest candidate. The n voters who did note vote for the youngest candidate voted for the two older candidates. Then there are C(2n,n) ways to choose the other n voters who voted for both the youngest and the second youngest candidate. The remaining voters vote for the oldest candidate. Hence there are C(3n,2n)*C(2n,n)=(3n)!/(n!)^3 ballot results. - Dennis P. Walsh, May 02 2013
a(n) is the constant term of (X+Y+1/(X*Y))^(3*n). - Mark van Hoeij, May 07 2013
For n > 2 a(n) is divisible by (n+2)*(n+1)^2, a(n) = (n+1)^2*(n+2)*A161581(n). - Alexander Adamchuk, Dec 27 2013
a(n) is the number of permutations of the multiset {1^n, 2^n, 3^n}, the number of ternary words of length 3*n with n of each letters. - Joerg Arndt, Feb 28 2016
Diagonal of the rational function 1/(1 - x - y - z). - Gheorghe Coserea, Jul 06 2016
At least two families of elliptic curves, x = 2*H1 = (p^2+q^2)*(1-q) and x = 2*H2 = p^2+q^2-3*p^2*q+q^3 (0Bradley Klee, Feb 25 2018
The ordinary generating function also determines periods along a family of tetrahedral-symmetric sphere curves ("du troisième ordre"). Compare links to Goursat "Étude des surfaces..." and "Proof Certificate". - Bradley Klee, Sep 28 2018

Examples

			G.f.: 1 + 6*x + 90*x^2 + 1680*x^3 + 34650*x^4 + 756756*x^5 + 17153136*x^6 + ...
		

References

  • L. A. Aizenberg and A. P. Yuzhakov, "Integral representations and residues in multidimensional complex analysis", American Mathematical Society, 1983, p. 194.
  • Louis Comtet, Advanced Combinatorics, Reidel, 1974, p. 174.
  • N. G. de Bruijn, Asymptotic Methods in Analysis, North-Holland Publishing Co., 1958. See chapters 4 and 6.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Row 3 of A187783.
Related to diagonal of rational functions: A268545-A268555. Elliptic Integrals: A002894, A113424, A000897. Factors: A005809, A000984. Integrals: A007004, A024486. Sphere Curves: A318245, A318495.

Programs

  • GAP
    List([0..20],n->Factorial(3*n)/Factorial(n)^3); # Muniru A Asiru, Mar 31 2018
    
  • Magma
    [Factorial(3*n)/(Factorial(n))^3: n in [0..20] ]; // Vincenzo Librandi, Aug 20 2011
    
  • Maple
    seq((3*n)!/(n!)^3, n=0..16); # Zerinvary Lajos, Jun 28 2007
  • Mathematica
    Sum [ (-1)^(k+n) Binomial[ 2n, k ]^3, {k, 0, 2n} ]
    a[ n_] := If[ n < 0, 0, (-1)^n HypergeometricPFQ[ {-2 n, -2 n, -2 n}, {1, 1}, 1]]; (* Michael Somos, Oct 22 2014 *)
    Table[Multinomial[n, n, n], {n, 0, 100}] (* Emanuele Munarini, Oct 25 2016 *)
    CoefficientList[Series[Hypergeometric2F1[1/3,2/3,1,27*x],{x,0,5}],x] (* Bradley Klee, Feb 28 2018 *)
    Table[(3n)!/(n!)^3,{n,0,20}] (* Harvey P. Dale, Mar 09 2025 *)
  • Maxima
    makelist(multinomial_coeff(n,n,n),n,0,24); /* Emanuele Munarini, Oct 25 2016 */
    
  • PARI
    {a(n) = if( n<0, 0, (3*n)! / n!^3)}; /* Michael Somos, Dec 03 2002 */
    
  • PARI
    {a(n) = my(A, m); if( n<1, n==0, m=1; A = 1 + O(x); while( m<=n, m*=3; A = subst( (1 + 2*x) * subst(A, x, (x/3)^3), x, serreverse(x * (1 + x + x^2) / (1 + 2*x)^3 / 3 + O(x^m)))); polcoeff(A, n))}; /* Michael Somos, Dec 03 2002 */
    
  • Python
    from math import factorial
    def A006480(n): return factorial(3*n)//factorial(n)**3 # Chai Wah Wu, Oct 04 2022

Formula

Using Stirling's formula in A000142 it is easy to get the asymptotic expression a(n) ~ 1/2 * sqrt(3) * 27^n / (Pi*n) - Dan Fux (dan.fux(AT)OpenGaia.com or danfux(AT)OpenGaia.com), Apr 07 2001
From Karol A. Penson, Nov 21 2001: (Start)
O.g.f.: hypergeom([1/3, 2/3], [1], 27*x).
E.g.f.: hypergeom([1/3, 2/3], [1, 1], 27*x).
Integral representation as n-th moment of a positive function on [0, 27]:
a(n) = int( x^n*(-1/24*(3*sqrt(3)*hypergeom([2/3, 2/3], [4/3], 1/27*x)* Gamma(2/3)^6*x^(1/3) - 8*hypergeom([1/3, 1/3], [2/3], 1/27*x)*Pi^3)/Pi^3 /x^(2/3)/Gamma(2/3)^3), x=0..27). This representation is unique. (End)
a(n) = Sum_{k=-n..n} (-1)^k*binomial(2*n, n+k)^3. - Benoit Cloitre, Mar 02 2005
a(n) = C(2n,n)*C(3n,n) = A104684(2n,n). - Paul Barry, Mar 14 2006
G.f. satisfies: A(x^3) = A( x*(1+3*x+9*x^2)/(1+6*x)^3 )/(1+6*x). - Paul D. Hanna, Oct 29 2010
D-finite with recurrence: n^2*a(n) - 3*(3*n-1)*(3*n-2)*a(n-1) = 0. - R. J. Mathar, Dec 04 2012
a(n) = (n+1)^2*(n+2)*A161581(n) for n>2. - Alexander Adamchuk, Dec 27 2013
0 = a(n)^2*(472392*a(n+1)^2 - 83106*a(n+1)*a(n+2) + 3600*a(n+2)^2) + a(n)*a(n+1)*(-8748*a(n+1)^2 + 1953*a(n+1)*a(n+2) - 120*a(n+2)^2) + a(n+1)^2*(36*a(n+1)^2 - 12*a(n+1)*a(n+2) + a(n+2)^2) for all n in Z. - Michael Somos, Oct 22 2014
0 = x*(27*x-1)*y'' + (54*x-1)*y' + 6*y, where y is g.f. - Gheorghe Coserea, Jul 06 2016
From Peter Bala, Jul 15 2016: (Start)
a(n) = 3*binomial(2*n - 1,n)*binomial(3*n - 1,n) = 3*[x^n] 1/(1 - x)^n * [x^n] 1/(1 - x)^(2*n) for n >= 1.
a(n) = binomial(2*n,n)*binomial(3*n,n) = ([x^n](1 + x)^(2*n)) *([x^n](1 + x)^(3*n)) = [x^n](F(x)^(6*n)), where F(x) = 1 + x + 2*x^2 + 14*x^3 + 127*x^4 + 1364*x^5 + 16219*x^6 + ... appears to have integer coefficients. Cf. A002894.
This sequence occurs as the right-hand side of several binomial sums:
Sum_{k = 0..2*n} (-1)^(n+k)*binomial(2*n,k)^3 = a(n) (Dixon's identity).
Sum_{k = 0..n} binomial(n,k)*binomial(2*n,n - k)*binomial(3*n + k,k) = a(n) (Gould, Vol. 4, 6.86)
Sum_{k = 0..n} (-1)^(n+k)*binomial(n,k)*binomial(2*n + k,n)*binomial(3*n + k,n) = a(n).
Sum_{k = 0..n} binomial(n,k)*binomial(2*n + k,k)*binomial(3*n,n - k) = a(n).
Sum_{k = 0..n} (-1)^(k)*binomial(n,k)*binomial(3*n - k,n)*binomial(4*n - k,n) = a(n).
Sum_{k = 0..2*n} (-1)^(n+k)*binomial(2*n + k,2*n - k)*binomial(2*k,k)*binomial(4*n - k,2*n) = a(n) (see Gould, Vol.5, 9.23).
Sum_{k = 0..2*n} (-1)^k*binomial(3*n,k)*binomial(3*n - k,n)^3 = a(n) (Sprugnoli, Section 2.9, Table 10, p. 123). (End)
From Bradley Klee, Feb 28 2018: (Start)
a(n) = A005809(n)*A000984(n).
G.f.: F(x) = 1/(2*Pi) Integral_{z=0..2*Pi} 2F1(1/3,2/3; 1/2; 27*x*sin^2(z)) dz.
With G(x) = x*2F1(1/3,2/3; 2; 27*x): F(x) = d/dx G(x). (Cf. A007004) (End)
F(x)*G(1/27-x) + F(1/27-x)*G(x) = 1/(4*Pi*sqrt(3)). - Bradley Klee, Sep 29 2018
Sum_{n>=0} 1/a(n) = A091683. - Amiram Eldar, Nov 15 2020
From Peter Bala, Sep 20 2021: (Start)
a(n) = Sum_{k = n..2*n} binomial(2*n,k)^2 * binomial(k,n). Cf. A001459.
a(n*p^k) == a(n*p^(k-1)) ( mod p^(3*k) ) for any prime p >= 5 and any positive integers n and k (write a(n) as C(3*n,2*n)*C(2*n,n) and apply Mestrovic, equation 39, p. 12). (End)
a(n) = 6*A060542(n). - R. J. Mathar, Jun 21 2023
Occurs on the right-hand side of the binomial sum identities Sum_{k = -n..n} (-1)^k * (n + x - k) * binomial(2*n, n+k)^3 = (x + n)*a(n) and Sum_{k = -n..n} (-1)^k * (n + x - k)^3 * binomial(2*n, n+k)^3 = x*(x + n)*(x + 2*n)*a(n) (x arbitrary). Compare with Dixon's identity: Sum_{k = -n..n} (-1)^k * binomial(2*n, n+k)^3 = a(n). - Peter Bala, Jul 31 2023
From Peter Bala, Aug 14 2023: (Start)
a(n) = (-1)^n * [x^(2*n)] ( (1 - x)^(4*n) * Legendre_P(2*n, (1 + x)/(1 - x)) ).
Row 1 of A364509. (End)
From Peter Bala, Oct 10 2024: (Start)
The following hold for n >= 1:
a(n) = Sum_{k = 0.. 2*n} (-1)^(n+k) * k/n * binomial(2*n, k)^3 = 3/2 * Sum_{k = 0.. 2*n} (-1)^(n+k) * (k/n)^2 * binomial(2*n, k)^3.
a(n) = 3/2 * Sum_{0..2*n-1} (-1)^(n+k) * k/n * binomial(2*n, k)^2*binomial(2*n-1, k).
a(n) = 3 * Sum_{0..2*n-1} (-1)^(n+k) * k/n * binomial(2*n, k)*binomial(2*n-1, k)^2. (End)
a(n) = Sum_{k = 0..n} (-1)^(n+k) * binomial(n, k) * A108625(2*n, k) (verified using the MulZeil procedure in Doron Zeilberger's MultiZeilberger package). - Peter Bala, Oct 15 2024

Extensions

a(14)-a(16) from Eric W. Weisstein
Terms a(17) and beyond from T. D. Noe, Jun 29 2008

A060540 Square array read by antidiagonals downwards: T(n,k) = (n*k)!/(k!^n*n!), (n>=1, k>=1), the number of ways of dividing nk labeled items into n unlabeled boxes with k items in each box.

Original entry on oeis.org

1, 1, 1, 1, 3, 1, 1, 10, 15, 1, 1, 35, 280, 105, 1, 1, 126, 5775, 15400, 945, 1, 1, 462, 126126, 2627625, 1401400, 10395, 1, 1, 1716, 2858856, 488864376, 2546168625, 190590400, 135135, 1, 1, 6435, 66512160, 96197645544, 5194672859376, 4509264634875, 36212176000, 2027025, 1
Offset: 1

Views

Author

Henry Bottomley, Apr 02 2001

Keywords

Comments

The Copeland link gives the associations of this entry with the operator calculus of Appell Sheffer polynomials, the combinatorics of simple set partitions encoded in the Faa di Bruno formula for composition of analytic functions (formal Taylor series), the Pascal matrix, and the geometry of the n-dimensional simplices (hypertriangles, or hypertetrahedra). These, in turn, are related to simple instances of the application of the exponential formula / principle / schema giving the number of not-necessarily-connected objects composed from an ensemble of connected objects. - Tom Copeland, Jun 09 2021

Examples

			Array begins:
  1,   1,       1,          1,             1,                 1, ...
  1,   3,      10,         35,           126,               462, ...
  1,  15,     280,       5775,        126126,           2858856, ...
  1, 105,   15400,    2627625,     488864376,       96197645544, ...
  1, 945, 1401400, 2546168625, 5194672859376, 11423951396577720, ...
  ...
		

Crossrefs

Main diagonal is A057599.
Related to A057599, see also A096126 and A246048.
Cf. A060358, A361948 (includes row/col 0).
Cf. A000217, A000292, A000332, A000389, A000579, A000580, A007318, A036040, A099174, A133314, A132440, A135278 (associations in Copeland link).

Programs

  • Mathematica
    T[n_, k_] := (n*k)!/(k!^n*n!);
    Table[T[n-k+1, k], {n, 1, 10}, {k, n, 1, -1}] // Flatten (* Jean-François Alcover, Jun 29 2018 *)
  • PARI
    { i=0; for (m=1, 20, for (n=1, m, k=m - n + 1; write("b060540.txt", i++, " ", (n*k)!/(k!^n*n!))); ) } \\ Harry J. Smith, Jul 06 2009

Formula

T(n,k) = (n*k)!/(k!^n*n!) = T(n-1,k)*A060543(n,k) = A060538(n,k)/k!.
T(n,k) = Product_{j=2..n} binomial(j*k-1,k-1). - M. F. Hasler, Aug 22 2014

Extensions

Definition reworded by M. F. Hasler, Aug 23 2014

A229452 G.f.: exp( Sum_{n>=1} (3*n)!/(3!*n!^3) * x^n/n ).

Original entry on oeis.org

1, 1, 8, 101, 1569, 27445, 518407, 10333243, 214320244, 4583132411, 100411556533, 2243625355010, 50955869372055, 1173262656151429, 27332509319090516, 643208905017756216, 15270427859720369204, 365356267775348553277, 8801688936499808334602
Offset: 0

Views

Author

Paul D. Hanna, Sep 23 2013

Keywords

Comments

Self-convolution 6th power yields A229451.
From Peter Bala, Feb 16 2020: (Start)
The sequence defined by b(n) = [x^n] A(x)^n for n >= 1 begins [1, 17, 352, 7969, 189876, 4676768, 117905565, 3024222753, 78607893934, 2064924478892, 54710782664836, ...]. We conjecture that b(n) satisfies the supercongruences b(n*p^k) == b(n*p^(k-1)) ( mod p^(3*k) ) for prime p >= 5 and all positive integers n and k [added 20 Oct 2024: more generally, for r a positive integer and s an integer we conjecture that the sequence {b(r,s;n) : n >= 1} defined by b(r,s; n) = [x^(r*n)] A(x)^(s*n) satisfies the same supercongruences].
More generally, for a positive integer m, set A_m(x) = exp( Sum_{n >= 1} (m*n)!/(m!*n!^m) * x^n/n ) and define a sequence b_m(n) := [x^n] A_m(x)^n for n >=1. Then we conjecture that b_m(n) is an integer sequence satisfying the same congruences. (End)
In general, for m >= 1, if g.f. = exp(m * Sum_{n>=1} (3*n)!/(3!*n!^3) * x^n/n), then a(n) ~ m * 2^(2*m-2) * 3^((m-1)/2) * Pi^(m-1) * A370293^m * 3^(3*n) / n^2, cf. A370289 (m=2), A370288 (m=3), A229451 (m=6). - Vaclav Kotesovec, Feb 14 2024

Examples

			G.f.: A(x) = 1 + x + 8*x^2 + 101*x^3 + 1569*x^4 + 27445*x^5 + ...,
where
log(A(x)) = x + 15*x^2/2 + 280*x^3/3 + 5775*x^4/4 + 126126*x^5/5 + 2858856*x^6/6 + ... + A060542(n)*x^n/n + ....
		

Crossrefs

Cf. A229451, A060542, A006480 (de Bruijn's S(3,n)), A061401, A370288, A370289, A370293, A370294, A370295.

Programs

  • Mathematica
    CoefficientList[Series[Exp[Sum[(3*k)!/(3!*k!^3)*x^k/k, {k, 1, 20}]], {x, 0, 20}], x] (* Vaclav Kotesovec, Mar 05 2020 *)
    CoefficientList[Series[Exp[x*HypergeometricPFQ[{1, 1, 4/3, 5/3}, {2, 2, 2}, 27*x]], {x, 0, 20}], x] (* Vaclav Kotesovec, Feb 11 2024 *)
  • PARI
    {a(n)=polcoeff(exp(sum(k=1,n,(3*k)!/(3!*k!^3)*x^k/k) +x*O(x^n)),n)}
    for(n=0,25,print1(a(n),", "))

Formula

a(n) ~ c * 3^(3*n) / n^2, where c = A370293 = 0.0490152812... - Vaclav Kotesovec, Feb 14 2024
a(n) = 1/n * Sum_{k = 0..n-1} b(n-k)*a(k) with a(0) = 1, where b(n) = (3*n)!/(6*n!^3). - Peter Bala, Oct 22 2024

A361717 a(n) = Sum_{k = 0..n-1} binomial(n-1,k)^2*binomial(n+k,k).

Original entry on oeis.org

0, 1, 4, 27, 216, 1875, 17088, 160867, 1549936, 15195843, 151017780, 1517232189, 15379549056, 157058738343, 1614039427224, 16676755365555, 173118505001952, 1804500885273123, 18877476988765404, 198120856336103017, 2085303730716475960
Offset: 0

Views

Author

Peter Bala, Mar 26 2023

Keywords

Comments

Compare with the Apery numbers A005258(n) = Sum_{k = 0..n} binomial(n,k)^2* binomial(n+k,k).
Conjecture 1: the supercongruence a(p) == 0 (mod p^4) holds for all primes p >= 5 (checked up to p = 199).
Conjecture 2: the supercongruence a(p-1) == 1 - 2*p - p^2 (mod p^3) holds for all primes except p = 3 (checked up to p = 199).

Examples

			a(5) = 3*(5^4); a(7) = (7^4)*67; a(11) = 3*(11^4)*34543; a(13) = (3^3)*(13^4)*203669.
		

Crossrefs

Programs

  • Maple
    seq( add(binomial(n-1,k)^2*binomial(n+k,k), k = 0..n), n = 0..20);
  • Mathematica
    A361717[n_]:=Sum[Binomial[n-1,k]^2Binomial[n+k,k],{k,0,n-1}];Array[A361717,30,0] (* Paolo Xausa, Oct 06 2023 *)
  • PARI
    a(n) = sum(k=0, n-1, binomial(n-1,k)^2*binomial(n+k,k)) \\ Winston de Greef, Mar 27 2023

Formula

a(n) = hypergeom([1 + n, 1 - n, 1 - n], [1, 1], 1) for n >= 1.
P-recursive:
n*(n-1)*(5*n-7)*a(n) = (55*n^3-187*n^2+190*n-48)*a(n-1) + (n-1)*(n-3)*(5*n-2)* a(n-2) with a(0) = 0 and a(1) = 1.
a(n) ~ phi^(5*n - 3/2) / (2*5^(1/4)*Pi*n), where phi = A001622 is the golden ratio. - Vaclav Kotesovec, Mar 27 2023
a(n) = Sum_{k = 0..n-1} (-1)^(n+k+1) * binomial(n-1, k) * binomial(n+k-1, k) * binomial(n+k, k+1) = (-1)^(n+1) * n * hypergeom([n, n + 1, 1 - n], [1, 2], 1). - Peter Bala, Sep 08 2023
a(n) = Sum_{k = 0..n-1} (-1)^k * binomial(n-2, k) * binomial(2*n-2-k, n-1-k)^2. - Peter Bala, Oct 09 2024
From Peter Bala, Jul 31 2025: (Start)
a(n) = n * Sum_{k = 0..n} 1/(k+1) * binomial(n-1, k)^2 * binomial(n+k-1,k).
a(n) = n * hypergeom([n, 1 - n, 1 - n], [1, 2], 1). (End)

A208881 Number of words either empty or beginning with the first letter of the ternary alphabet, where each letter of the alphabet occurs n times.

Original entry on oeis.org

1, 2, 30, 560, 11550, 252252, 5717712, 133024320, 3155170590, 75957810500, 1850332263780, 45508998487680, 1128243920840400, 28159366024288800, 706857555303576000, 17831659928458210560, 451781821468671694110, 11489952898943726476500, 293206575828601020085500
Offset: 0

Views

Author

Alois P. Heinz, Mar 02 2012

Keywords

Comments

Also the number of (n*k-1)-step walks on k-dimensional cubic lattice from (1,0,...,0) to (n,n,...,n) with positive unit steps in all dimensions.

Examples

			a(0) = 1: the empty word.
a(1) = 2 = |{abc, acb}|.
a(2) = 30 = |{aabbcc, aabcbc, aabccb, aacbbc, aacbcb, aaccbb, ababcc, abacbc, abaccb, abbacc, abbcac, abbcca, abcabc, abcacb, abcbac, abcbca, abccab, abccba, acabbc, acabcb, acacbb, acbabc, acbacb, acbbac, acbbca, acbcab, acbcba, accabb, accbab, accbba}|.
		

Crossrefs

Column k=3 of A208879.

Programs

  • Maple
    a:= n-> `if`(n=0, 1, (3*n)!/(3*n!^3)):
    seq(a(n), n=0..20);

Formula

a(n) = (3*n)!/(3 * n!^3) for n>0, a(0) = 1.
a(n) = 2 * A060542(n) for n>0.
a(n) = A253283(2*n,n) for n>=0. - Peter Luschny, Mar 22 2015
n^2*a(n) -3*(3*n-1)*(3*n-2)*a(n-1)=0. - R. J. Mathar, Nov 01 2015

A322252 a(0) = 1 and a(n) = (5*n)!/(5!*n!^5) for n > 0.

Original entry on oeis.org

1, 1, 945, 1401400, 2546168625, 5194672859376, 11423951396577720, 26478825654361766400, 63805953776276649848625, 158421985022100255941485000, 402789797982510165934296910320, 1044048983553856888083223814102400, 2749848597736878877579660426025283000
Offset: 0

Views

Author

Seiichi Manyama, Nov 30 2018

Keywords

Crossrefs

Programs

  • Magma
    [1] cat [Factorial(5*n)/(120*Factorial(n)^5):n in [1..12]]; // Marius A. Burtea, Feb 18 2020
  • Mathematica
    a[n_]:=(5*n)!/(5!*n!^5); Array[a, 20] (* or *) CoefficientList[Series[HypergeometricPFQ[{1/5, 2/5, 3/5, 4/5}, {1, 1, 1}, 3125 x]/(120 x) , {x, 0, 20}], x] (* Stefano Spezia, Dec 01 2018 *)

Formula

O.g.f.: F({1/5, 2/5, 3/5, 4/5}, {1, 1, 1}, 3125*x)/(120*x), where F is the generalized hypergeometric function. - Stefano Spezia, Dec 01 2018
a(n) = (1/5!)*A008978(n) for n >= 1. - Peter Bala, Feb 18 2020

A361948 Array read by ascending antidiagonals. A(n, k) = Product_{j=0..k-1} binomial((j + 1)*n - 1, n - 1) if n >= 1, and A(0, k) = 1 for all k.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 10, 15, 1, 1, 1, 1, 35, 280, 105, 1, 1, 1, 1, 126, 5775, 15400, 945, 1, 1, 1, 1, 462, 126126, 2627625, 1401400, 10395, 1, 1, 1, 1, 1716, 2858856, 488864376, 2546168625, 190590400, 135135, 1, 1
Offset: 0

Views

Author

Peter Luschny, Apr 13 2023

Keywords

Comments

Row n gives the leading coefficients of the set partition polynomials of type n. The sequence of these polynomial sequences starts: A097805, A048993, A156289, A291451, A291452, ...

Examples

			Array A(n, k) starts:
  [0] 1, 1,   1,       1,           1,                 1, ...
  [1] 1, 1,   1,       1,           1,                 1, ...
  [2] 1, 1,   3,      15,         105,               945, ...  A001147
  [3] 1, 1,  10,     280,       15400,           1401400, ...  A025035
  [4] 1, 1,  35,    5775,     2627625,        2546168625, ...  A025036
  [5] 1, 1, 126,  126126,   488864376,     5194672859376, ...  A025037
  [6] 1, 1, 462, 2858856, 96197645544, 11423951396577720, ...  A025038
.
Triangle A(n-k, k) starts:
  [0] 1;
  [1] 1, 1;
  [2] 1, 1,  1;
  [3] 1, 1,  1,   1;
  [4] 1, 1,  3,   1,   1;
  [5] 1, 1, 10,  15,   1, 1;
  [6] 1, 1, 35, 280, 105, 1, 1;
		

Crossrefs

Cf. A060540 (subarray), A370407 (antidiagonal sums, row sums).
Cf. A001147 (row 2), A025035 (row 3), A025036 (row 4), A025037 (row 5), A025038 (row 6), A025039 (row 7), A025040 (row 8), A025041 (row 9).
Cf. A088218 (column 2), A060542 (column 3), A082368 (column 4), A322252 (column 5), A057599 (main diagonal).

Programs

  • Maple
    A := (n, k) -> mul(binomial((j + 1)*n - 1, n - 1), j = 0..k-1):
    seq(seq(A(n-k, k), k = 0..n), n = 0..9);
    # Alternative, using recursion:
    A := proc(n, k) local P; P := proc(n, k) option remember;
    if n = 0 then return x^k*k! fi; if k = 0 then 1 else add(binomial(n*k, n*j)*
    P(n,k-j)*x, j=1..k) fi end: coeff(P(n, k), x, k) / k! end:
    seq(print(seq(A(n, k), k = 0..5)), n = 0..6);
    # Alternative, using exponential generating function:
    egf := n -> ifelse(n=0, 1, exp(x^n/n!)): ser := n -> series(egf(n), x, 8*n):
    row := n -> local k; seq((n*k)!*coeff(ser(n), x, n*k), k = 0..6):
    for n from 0 to 6 do [n], row(n) od;  # Peter Luschny, Aug 15 2024
  • Mathematica
    A[n_, k_] := Product[Binomial[n (j + 1) - 1, n - 1], {j, 0, k - 1}]; Table[A[n - k, k], {n, 0, 9}, {k, 0, n}] // Flatten (* Michael De Vlieger, Apr 13 2023 *)
  • SageMath
    def Arow(n, size):
        if n == 0: return [1] * size
        return [prod(binomial((j + 1)*n - 1, n - 1) for j in range(k)) for k in range(size)]
    for n in range(7): print(Arow(n, 7))
    # Alternative, using exponential generating function:
    def SetPolyLeadCoeff(m, n):
        x, z = var("x, z")
        if m == 0: return 1
        w = exp(2 * pi * I / m)
        o = sum(exp(z * w ** k) for k in range(m)) / m
        t = exp(x * (o - 1)).taylor(z, 0, m*n)
        p = factorial(m*n) * t.coefficient(z, m*n)
        return p.leading_coefficient(x)
    for m in range(7):
        print([SetPolyLeadCoeff(m, k) for k in range(6)])

Formula

A(n, k) = (1/k!) * [x^k] P(n, k), where P(n, k) = k!*x^k if n = 0 and otherwise 1 if k = 0 and otherwise Sum_{j=1..k} binomial(n*k, n*j)*P(n, k-j)*x.
A(n, k) = (n*k)!*[x^(n*k)] exp(x^n/n!) for n >= 1. - Peter Luschny, Aug 15 2024

A377217 Expansion of the o.g.f. A(x) defined by [x^n] A(x)^(6*n) = (3*n)!/n!^3 for n >= 0.

Original entry on oeis.org

1, 1, 2, 14, 127, 1364, 16219, 206715, 2770342, 38567069, 553153830, 8126285739, 121758839828, 1854687918895, 28649693078544, 447912211497740, 7076246388778874, 112821090561117084, 1813395701702453669
Offset: 0

Views

Author

Peter Bala, Oct 20 2024

Keywords

Comments

Compare with A000984(n) = [x^n] (1 + x)^(2*n) = (2*n)!/n!^2.
The central binomial coefficients A000984(n) satisfy the supercongruences u(n*p^k) == u(n*p^(k-1)) (mod p^(3*k)) for all primes p >= 5 and positive integers n and k.
More generally, for positive integers r and s, the sequence {u(r,s; n) : n >= 0} defined by u(r,s; n) = [x^(s*n)] (1 + x)^(r*n) = binomial(r*n, s*n) satisfies the same supercongruences (Meštrović, Section 6, equation 39).
Conjecture: for positive integers r and s, the sequence {v(r,s; n) : n >= 0} defined by v(r,s; n) = [x^(s*n)] A(x)^(r*n) also satisfies the same supercongruences.

Crossrefs

Programs

  • Maple
    Order := 25:
    E(x) := exp(add((3*n)!/n!^3 * x^n/n, n = 1..25)):
    solve(series(x*E(x),x) = y, x):
    convert(%, polynom):
    g := taylor(y/%, y = 0, 25):
    seq(coeftayl(g^(1/6), y = 0,  n), n = 0..20);

Formula

O.g.f.: A(x) = ( x/(x * series_reversion(E(x)))^(1/6), where E(x) = exp(Sum_{n >= 1} (3*n)!/n!^3 *x^n/n) is the o.g.f. of A229451.

A181386 Tetrahedron of terms C(r,n,m) representing the number of ways of choosing m disjoint subsets of r members from an original set of n members.

Original entry on oeis.org

1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 1, 1, 4, 6, 4, 1, 1, 3, 1, 1, 1, 1, 5, 10, 10, 5, 1, 1, 6, 3, 1, 1, 1, 1, 1, 1, 6, 15, 20, 15, 6, 1, 1, 10, 15, 1, 4, 1, 1, 1, 1, 1, 7, 21, 35, 35, 21, 7, 1, 1, 15, 45, 15, 1, 10, 1, 1, 1, 1, 1, 1, 1, 8, 28, 56, 70, 56, 28, 8, 1, 1, 21, 105, 105, 1, 20
Offset: 1

Views

Author

Frank M Jackson, Oct 16 2010

Keywords

Comments

The start index for r is 1 but the start index for m and n is 0. For each value of r, the triangle T_r(n,m) has row n containing 1 + floor(n/r) terms.
From Frank M Jackson, Nov 20 2010: (Start)
C(r,mr,m) = C(r,mr-1,m-1).
C(1,m,m) = A000012, C(2,2m,m) = A001147,
C(3,3m,m), ..., C(10,10m,m) = A025035, ..., A025042.
C(2,26,10) = 150738274937250 and represents the number of possible plugboard settings for a WWII German Enigma Enciphering Machine.
C(r,2r,2) = A001700, C(r,3r,3) = A060542, C(r,4r,4) = A082368.
C(r,n,m) = C(r,mr-1,m-1)*binomial(n,rm),
and applied recursively gives the identity
C(r,n,m) = Binomial(n,r*m) * Product_{p=1..m} Binomial(r*(m-p+1)-1,r-1).
(End)
C(2,26,10) = A266365(10), where 26 is the size of the alphabet. - Jonathan Sondow, Dec 29 2015

Examples

			r=1, C(1,n,m) is
  1
  1, 1
  1, 2,  1
  1, 3,  3,  1
  1, 4,  6,  4, 1
  1, 5, 10, 10, 5, 1
r=2, C(2,n,m) is
  1
  1
  1,  1
  1,  3
  1,  6,  3
  1, 10, 15
r=3, C(3,n,m) is
  1
  1
  1
  1,  1
  1,  4
  1, 10
		

Crossrefs

C(1,n,m) = T_1(n,m) = A007318, C(2,n,m) = T_2(n,m) = A100861, and C(2,26,m) = A266365.

Programs

  • Mathematica
    Flatten[Table[{n!/((n-r*m)!*m!*r!^m)}, {r, 1, 50}, {n, 0, 50}, {m, 0, Floor[n/r]}]]

Formula

C(r,n,m) = n!/((n-r*m)!*m!*(r!)^m).
Showing 1-9 of 9 results.