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-10 of 11 results. Next

A001523 Number of stacks, or planar partitions of n; also weakly unimodal compositions of n.

Original entry on oeis.org

1, 1, 2, 4, 8, 15, 27, 47, 79, 130, 209, 330, 512, 784, 1183, 1765, 2604, 3804, 5504, 7898, 11240, 15880, 22277, 31048, 43003, 59220, 81098, 110484, 149769, 202070, 271404, 362974, 483439, 641368, 847681, 1116325, 1464999, 1916184, 2498258, 3247088, 4207764
Offset: 0

Views

Author

Keywords

Comments

a(n) counts stacks of integer-length boards of total length n where no board overhangs the board underneath.
Number of graphical partitions on 2n nodes that contain a 1. E.g. a(3)=4 and so there are 4 graphical partitions of 6 that contain a 1, namely (111111), (21111), (2211) and (3111). Only (222) fails. - Jon Perry, Jul 25 2003
It would seem from Stanley that he regards a(0)=0 for this sequence and A001522. - Michael Somos, Feb 22 2015
In the article by Auluck is a typo in the formula (24), 2*Pi is missing in an exponent on the left side of the equation for Q(n). The correct term is exp(2*Pi*sqrt(n/3)), not just exp(sqrt(n/3)). - Vaclav Kotesovec, Jun 22 2015

Examples

			For a(4)=8 we have the following stacks:
x
x x. .x
x x. .x x.. .x. ..x xx
x xx xx xxx xxx xxx xx xxxx
G.f. = 1 + x + 2*x^2 + 4*x^3 + 8*x^4 + 15*x^5 + 27*x^6 + 47*x^7 + 79*x^8 + ...
From _Gus Wiseman_, Mar 04 2020: (Start)
The a(1) = 1 through a(5) = 15 unimodal compositions:
  (1)  (2)   (3)    (4)     (5)
       (11)  (12)   (13)    (14)
             (21)   (22)    (23)
             (111)  (31)    (32)
                    (112)   (41)
                    (121)   (113)
                    (211)   (122)
                    (1111)  (131)
                            (221)
                            (311)
                            (1112)
                            (1121)
                            (1211)
                            (2111)
                            (11111)
(End)
		

References

  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
  • R. P. Stanley, Enumerative Combinatorics, Cambridge, Vol. 1, 1999; see section 2.5 on page 76.

Crossrefs

Cf. A000569. Bisections give A100505, A100506.
Row sums of A247255.
Row sums of A072704.
The strict case is A072706.
The complement is counted by A115981.
The case covering an initial interval is A227038.
The version whose negation is unimodal as well appears to be A329398.
Unimodal sequences covering an initial interval are A007052.
Non-unimodal permutations are A059204.
Non-unimodal sequences covering an initial interval are A328509.
Partitions with unimodal run-lengths are A332280.
Numbers whose prime signature is not unimodal are A332282.
Partitions whose 0-appended first differences are unimodal are A332283.
The number of unimodal permutations of the prime indices of n is A332288.
Compositions whose negation is unimodal are A332578.
Compositions whose run-lengths are unimodal are A332726.

Programs

  • Magma
    m:=100;
    R:=PowerSeriesRing(Integers(), m);
    Coefficients(R!( 1 + (&+[ x^n*(1-x^n)/(&*[(1-x^j)^2: j in [1..n]]): n in [1..m+2]]) )); // G. C. Greubel, Apr 03 2023
  • Maple
    b:= proc(n, i) option remember;
          `if`(i>n, 0, `if`(irem(n, i)=0, 1, 0)+
          add(b(n-i*j, i+1)*(j+1), j=0..n/i))
        end:
    a:= n-> `if`(n=0, 1, b(n, 1)):
    seq(a(n), n=0..60);  # Alois P. Heinz, Mar 26 2014
  • Mathematica
    max = 40; s = 1 + Sum[(-1)^(k + 1)*q^(k*(k + 1)/2), {k, 1, max}] / QPochhammer[q]^2 + O[q]^max; CoefficientList[s, q] (* Jean-François Alcover, Jan 25 2012, updated Nov 29 2015 *)
    b[n_, i_] := b[n, i] = If[i>n, 0, If[Mod[n, i]==0, 1, 0] + Sum[b[n-i*j, i+1]*(j+1), {j, 0, n/i}]]; a[n_] := If[n==0, 1, b[n, 1]]; Table[a[n], {n, 0, 60}] (* Jean-François Alcover, Nov 24 2015, after Alois P. Heinz *)
    unimodQ[q_]:=Or[Length[q]<=1,If[q[[1]]<=q[[2]],unimodQ[Rest[q]],OrderedQ[Reverse[q]]]];
    Table[Length[Select[Join@@Permutations/@IntegerPartitions[n],unimodQ[#]&]],{n,0,10}] (* Gus Wiseman, Mar 04 2020 *)
  • PARI
    {a(n) = if( n<1, n==0, polcoeff( sum(k=1, (sqrt(1 + 8*n) - 1)\2, -(-1)^k * x^((k + k^2)/2)) / eta(x + x * O(x^n))^2 ,n))}; /* Michael Somos, Jul 22 2003 */
    
  • Python
    def b(n, i):
        if i>n: return 0
        if n%i==0: x=1
        else: x=0
        return x + sum([b(n - i*j, i + 1)*(j + 1) for j in range(n//i + 1)])
    def a(n): return 1 if n==0 else b(n, 1) # Indranil Ghosh, Jun 09 2017, after Maple code by Alois P. Heinz
    

Formula

a(n) = Sum_{k=1..n} f(k, n-k), where f(n, k) (= A054250) = 1 if k = 0; Sum_{j=1..min(n, k)} (n-j+1)*f(j, k-j) if k > 0. - David W. Wilson, May 05 2000
a(n) = Sum_{k} A059623(n, k) for n > 0. - Henry Bottomley, Feb 01 2001
A006330(n) + a(n) = A000712(n). - Michael Somos, Jul 22 2003
G.f.: 1 + (Sum_{k>0} -(-1)^k x^(k(k+1)/2))/(Product_{k>0} (1-x^k))^2. - Michael Somos, Jul 22 2003
G.f.: 1 + Sum_{n>=1} (x^n / ( ( Product_{k=1..n-1} (1 - x^k)^2 ) * (1-x^n) ) ). - Joerg Arndt, Oct 01 2012
a(n) ~ exp(2*Pi*sqrt(n/3)) / (8 * 3^(3/4) * n^(5/4)) [Auluck, 1951]. - Vaclav Kotesovec, Jun 22 2015
a(n) + A115981(n) = 2^(n - 1). - Gus Wiseman, Mar 04 2020

Extensions

More terms from David W. Wilson, May 05 2000
Definition corrected by Wolfdieter Lang, Dec 05 2018

A006330 Number of corners, or planar partitions of n with only one row and one column.

Original entry on oeis.org

1, 1, 3, 6, 12, 21, 38, 63, 106, 170, 272, 422, 653, 986, 1482, 2191, 3218, 4666, 6726, 9592, 13602, 19122, 26733, 37102, 51232, 70292, 95989, 130356, 176246, 237120, 317724, 423840, 563266, 745562, 983384, 1292333, 1692790, 2209886, 2876132
Offset: 0

Views

Author

Keywords

Comments

The first four terms a(0), a(1), a(2), a(3) agree with sequence A000219 for unrestricted planar partitions, since the restriction does not rule anything out. For a(4) there is just one planar partition which doesn't satisfy the restriction, four 1's arranged in a square. So A000219 has fifth term 13 and here we have 12.
a(n) + A001523(n) = A000712(n). - Michael Somos, Jul 22 2003
Number of unimodal compositions of n+1 where the maximal part appears once, see example. [Joerg Arndt, Jun 11 2013]

Examples

			From _Joerg Arndt_, Jun 11 2013: (Start)
There are a(4)=12 unimodal compositions of 4+1=5 where the maximal part appears once:
01:  [ 1 1 1 2 ]
02:  [ 1 1 2 1 ]
03:  [ 1 1 3 ]
04:  [ 1 2 1 1 ]
05:  [ 1 3 1 ]
06:  [ 1 4 ]
07:  [ 2 1 1 1 ]
08:  [ 2 3 ]
09:  [ 3 1 1 ]
10:  [ 3 2 ]
11:  [ 4 1 ]
12:  [ 5 ]
(End)
G.f. = 1 + x + 3*x^2 + 6*x^3 + 12*x^4 + 21*x^5 + 38*x^6 + 63*x^7 + 106*x^8 + ...
		

References

  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
  • R. P. Stanley, Enumerative Combinatorics, Cambridge, Vol. 1, 1999; see page 77.

Crossrefs

Column k=1 of A247255.
Row sums of A259100.

Programs

  • Mathematica
    a[0] = 1; a[n_] := SeriesCoefficient[ Sum[x^k/Product[1 - x^i, {i, 1, k}]^2, {k, 1, n}] + 1, {x, 0, n}]; Array[a, 39, 0] (* Jean-François Alcover, Mar 13 2014 *)
  • PARI
    {a(n) = if( n<0, 0, polcoeff( sum(k=1, n, x^k / prod(i=1, k, 1 - x^i, 1 + x*O(x^n))^2, 1), n))};
    
  • PARI
    {a(n) = if( n<0, 0, polcoeff( sum(k=0, (sqrtint(1 + 8*n) - 1)\2, (-1)^k * x^((k + k^2)/2)) / eta(x + x*O(x^n))^2, n))};

Formula

G.f.: 1+Sum_{k>0} x^k/(Product_{i=1..k} (1-x^i))^2.
G.f.: (Sum_{k>=0} (-1)^k * x^(k(k+1)/2)) / (Product_{k>0} 1 - x^k)^2. - Michael Somos, Jul 28 2003
Convolution product of A197870 and A000712. - Michael Somos, Feb 22 2015
a(n) ~ exp(2*Pi*sqrt(n/3)) / (8 * 3^(3/4) * n^(5/4)) [Auluck, 1951]. - Vaclav Kotesovec, Jun 22 2015

Extensions

Edited and extended by Moshe Shmuel Newman, Jun 10 2003

A114921 Number of unimodal compositions of n+2 where the maximal part appears exactly twice.

Original entry on oeis.org

1, 0, 1, 2, 4, 6, 11, 16, 27, 40, 63, 92, 141, 202, 299, 426, 614, 862, 1222, 1694, 2362, 3242, 4456, 6054, 8229, 11072, 14891, 19872, 26477, 35050, 46320, 60866, 79827, 104194, 135703, 176008, 227791, 293702, 377874, 484554, 620011, 790952, 1006924
Offset: 0

Views

Author

Michael Somos, Jan 07 2006

Keywords

Comments

Old name was: Expansion of a q-series.
a(n) is also the number of 2-colored partitions of n with the same number of parts in each color. - Shishuo Fu, May 30 2017
From Gus Wiseman, Mar 25 2021: (Start)
Also the number of even-length compositions of n with alternating parts weakly decreasing. Allowing odd lengths also gives A342528. The version with alternating parts strictly decreasing appears to be A064428. The a(2) = 1 through a(7) = 16 compositions are:
(1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
(2,1) (2,2) (2,3) (2,4) (2,5)
(3,1) (3,2) (3,3) (3,4)
(1,1,1,1) (4,1) (4,2) (4,3)
(1,2,1,1) (5,1) (5,2)
(2,1,1,1) (1,2,1,2) (6,1)
(1,3,1,1) (1,3,1,2)
(2,1,2,1) (1,4,1,1)
(2,2,1,1) (2,2,1,2)
(3,1,1,1) (2,2,2,1)
(1,1,1,1,1,1) (2,3,1,1)
(3,1,2,1)
(3,2,1,1)
(4,1,1,1)
(1,2,1,1,1,1)
(2,1,1,1,1,1)
(End)

Examples

			From _Joerg Arndt_, Jun 10 2013: (Start)
There are a(7)=16 such compositions of 7+2=9 where the maximal part appears twice:
  01:  [ 1 1 1 1 1 2 2 ]
  02:  [ 1 1 1 1 2 2 1 ]
  03:  [ 1 1 1 2 2 1 1 ]
  04:  [ 1 1 1 3 3 ]
  05:  [ 1 1 2 2 1 1 1 ]
  06:  [ 1 1 3 3 1 ]
  07:  [ 1 2 2 1 1 1 1 ]
  08:  [ 1 2 3 3 ]
  09:  [ 1 3 3 1 1 ]
  10:  [ 1 3 3 2 ]
  11:  [ 1 4 4 ]
  12:  [ 2 2 1 1 1 1 1 ]
  13:  [ 2 3 3 1 ]
  14:  [ 3 3 1 1 1 ]
  15:  [ 3 3 2 1 ]
  16:  [ 4 4 1 ]
(End)
		

Crossrefs

Cf. A226541 (max part appears three times), A188674 (max part m appears m times), A001523 (max part appears any number of times).
Column k=2 of A247255.
A000041 counts weakly increasing (or weakly decreasing) compositions.
A000203 adds up divisors.
A002843 counts compositions with all adjacent parts x <= 2y.
A003242 counts anti-run compositions.
A034008 counts even-length compositions.
A065608 counts even-length compositions with alternating parts equal.
A342528 counts compositions with alternating parts weakly decreasing.
A342532 counts even-length compositions with alternating parts unequal.

Programs

  • Mathematica
    max = 50; s = (1+Sum[2*(-1)^k*q^(k(k+1)/2), {k, 1, max}])/QPochhammer[q]^2+ O[q]^max; CoefficientList[s, q] (* Jean-François Alcover, Nov 30 2015, from 1st g.f. *)
    wdw[q_]:=And@@Table[q[[i]]>=q[[i+2]],{i,Length[q]-2}];
    Table[Length[Select[Join@@Permutations/@Select[IntegerPartitions[n],EvenQ[Length[#]]&],wdw]],{n,0,15}] (* Gus Wiseman, Mar 25 2021 *)
  • PARI
    {a(n) = if( n<0, 0, polcoeff( sum(k=0, n\2, x^(2*k) / prod(i=1, k, 1 - x^i, 1 + x * O(x^n))^2), n))};
    
  • PARI
    {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( sum(k=1, sqrtint(8*n + 1)\2, 2*(-1)^k * x^((k^2+k)/2), 1 + A) / eta(x + A)^2, n))};

Formula

G.f.: 1 + Sum_{k>0} (x^k / ((1-x)(1-x^2)...(1-x^k)))^2 = (1 + Sum_{k>0} 2 (-1)^k x^((k^2+k)/2) ) / (Product_{k>0} (1 - x^k))^2.
G.f.: 1 + x*(1 - G(0))/(1-x) where G(k) = 1 - x/(1-x^(k+1))^2/(1-x/(x-1/G(k+1) )); (continued fraction). - Sergei N. Gladkovskii, Jan 23 2013
a(n) = A006330(n) - A001523(n). - Vaclav Kotesovec, Jun 22 2015
a(n) ~ Pi * exp(2*Pi*sqrt(n/3)) / (16 * 3^(5/4) * n^(7/4)). - Vaclav Kotesovec, Oct 24 2018

Extensions

New name from Joerg Arndt, Jun 10 2013

A226541 Number of unimodal compositions of n where the maximal part appears three times.

Original entry on oeis.org

1, 0, 0, 1, 0, 0, 1, 2, 3, 5, 7, 11, 16, 24, 34, 51, 71, 102, 143, 201, 276, 384, 522, 714, 964, 1301, 1739, 2328, 3084, 4085, 5377, 7064, 9226, 12036, 15616, 20228, 26092, 33584, 43067, 55125, 70308, 89502, 113598, 143889, 181755, 229160, 288186, 361750, 453046, 566346, 706464
Offset: 0

Views

Author

Joerg Arndt, Jun 10 2013

Keywords

Crossrefs

Cf. A006330 (max part appears once), A114921 (max part appears twice).
Cf. A188674 (max part m appears m times), A001522 (max part m appears at least m times).
Cf. A001523 (max part appears any number of times).
Cf. A000009 (symmetric, max part m appears once; also symmetric, max part appears an odd number of times).
Cf. A035363 (symmetric, max part m appears twice; also symmetric, max part appears an even number of times).
Cf. A087897 (symmetric, max part m appears 3 times).
Cf. A027349 (symmetric, max part m appears m times), A189357 (symmetric, max part m appears at least m times).
Column k=3 of A247255.

Programs

  • PARI
    N=66; x='x+O('x^N); Vec(sum(n=0,N, x^(3*n) / prod(k=1,n-1, 1-x^k )^2 ))

Formula

G.f.: sum(n>=0, x^(3*n) / prod(k=1..n-1, 1-x^k )^2 ); replace 3 by m to obtain g.f. for "... max part appears m times".
a(n) ~ Pi^2 * exp(2*Pi*sqrt(n/3)) / (16 * 3^(7/4) * n^(9/4)). - Vaclav Kotesovec, Oct 24 2018

A320315 Number of weakly unimodal compositions of n in which the greatest part occurs exactly four times.

Original entry on oeis.org

1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 3, 4, 6, 8, 12, 16, 24, 32, 46, 62, 87, 116, 160, 212, 288, 380, 508, 666, 883, 1150, 1508, 1954, 2542, 3274, 4229, 5416, 6949, 8856, 11292, 14320, 18162, 22922, 28921, 36344, 45641, 57112, 71407, 88998, 110816, 137600, 170665
Offset: 0

Views

Author

Alois P. Heinz, Oct 10 2018

Keywords

Crossrefs

Column k=4 of A247255.

Programs

  • Maple
    b:= proc(n, i) option remember; `if`(i>n, 0,
          `if`(4*i=n, 1, 0)+add(b(n-i*j, i+1)*(j+1), j=0..n/i))
        end:
    a:= n-> `if`(n=0, 1, b(n, 1)):
    seq(a(n), n=0..70);
  • Mathematica
    b[n_, i_] := b[n, i] = If[i > n, 0, If[4 i == n, 1, 0] +
         Sum[b[n - i j, i + 1] (j + 1), {j, 0, n/i}]];
    a[n_] :=  If[n == 0, 1, b[n, 1]];
    a /@ Range[0, 70] (* Jean-François Alcover, Apr 22 2021, after Alois P. Heinz *)

Formula

G.f.: Sum_{n>=0} x^(4*n) / Product_{j=1..n-1} (1-x^j)^2.
a(n) ~ Pi^3 * exp(2*Pi*sqrt(n/3)) / (2^5 * 3^(5/4) * n^(11/4)). - Vaclav Kotesovec, Oct 24 2018

A320316 Number of weakly unimodal compositions of n in which the greatest part occurs exactly five times.

Original entry on oeis.org

1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 2, 3, 4, 5, 7, 9, 13, 17, 24, 32, 44, 58, 79, 103, 138, 180, 237, 307, 402, 517, 670, 859, 1104, 1407, 1799, 2280, 2896, 3656, 4616, 5801, 7291, 9120, 11407, 14215, 17701, 21971, 27252, 33699, 41637, 51314, 63170, 77590, 95202
Offset: 0

Views

Author

Alois P. Heinz, Oct 10 2018

Keywords

Crossrefs

Column k=5 of A247255.

Programs

  • Maple
    b:= proc(n, i) option remember; `if`(i>n, 0,
          `if`(5*i=n, 1, 0)+add(b(n-i*j, i+1)*(j+1), j=0..n/i))
        end:
    a:= n-> `if`(n=0, 1, b(n, 1)):
    seq(a(n), n=0..70);
  • Mathematica
    b[n_, i_] := b[n, i] = If[i > n, 0, If[5 i == n, 1, 0] +
         Sum[b[n - i j, i + 1] (j + 1), {j, 0, n/i}]];
    a[n_] := If[n == 0, 1, b[n, 1]];
    a /@ Range[0, 70] (* Jean-François Alcover, Apr 22 2021, after Alois P. Heinz *)

Formula

G.f.: Sum_{n>=0} x^(5*n) / Product_{j=1..n-1} (1-x^j)^2.
a(n) ~ Pi^4 * exp(2*Pi*sqrt(n/3)) / (16 * 3^(7/4) * n^(13/4)). - Vaclav Kotesovec, Oct 24 2018

A320317 Number of weakly unimodal compositions of n in which the greatest part occurs exactly six times.

Original entry on oeis.org

1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 8, 10, 14, 18, 25, 32, 44, 56, 75, 96, 126, 160, 209, 264, 340, 430, 549, 690, 877, 1098, 1385, 1730, 2169, 2698, 3369, 4174, 5185, 6406, 7923, 9752, 12018, 14744, 18099, 22140, 27082, 33026, 40274, 48970
Offset: 0

Views

Author

Alois P. Heinz, Oct 10 2018

Keywords

Crossrefs

Column k=6 of A247255.

Programs

  • Maple
    b:= proc(n, i) option remember; `if`(i>n, 0,
          `if`(6*i=n, 1, 0)+add(b(n-i*j, i+1)*(j+1), j=0..n/i))
        end:
    a:= n-> `if`(n=0, 1, b(n, 1)):
    seq(a(n), n=0..70);

Formula

G.f.: Sum_{n>=0} x^(6*n) / Product_{j=1..n-1} (1-x^j)^2.
a(n) ~ Pi^5 * 5! * exp(2*Pi*sqrt(n/3)) / (2^8 * 3^(13/4) * n^(15/4)). - Vaclav Kotesovec, Oct 24 2018

A320318 Number of weakly unimodal compositions of n in which the greatest part occurs exactly seven times.

Original entry on oeis.org

1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 15, 19, 26, 33, 44, 56, 73, 92, 119, 149, 190, 238, 301, 375, 472, 586, 733, 908, 1129, 1394, 1727, 2124, 2619, 3213, 3946, 4824, 5904, 7196, 8776, 10667, 12965, 15714, 19045, 23019, 27816
Offset: 0

Views

Author

Alois P. Heinz, Oct 10 2018

Keywords

Crossrefs

Column k=7 of A247255.

Programs

  • Maple
    b:= proc(n, i) option remember; `if`(i>n, 0,
          `if`(7*i=n, 1, 0)+add(b(n-i*j, i+1)*(j+1), j=0..n/i))
        end:
    a:= n-> `if`(n=0, 1, b(n, 1)):
    seq(a(n), n=0..70);

Formula

G.f.: Sum_{n>=0} x^(7*n) / Product_{j=1..n-1} (1-x^j)^2.
a(n) ~ Pi^6 * 6! * exp(2*Pi*sqrt(n/3)) / (2^9 * 3^(15/4) * n^(17/4)). - Vaclav Kotesovec, Oct 24 2018

A320319 Number of weakly unimodal compositions of n in which the greatest part occurs exactly eight times.

Original entry on oeis.org

1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 16, 20, 27, 34, 45, 56, 73, 90, 115, 142, 179, 220, 276, 338, 421, 516, 638, 780, 962, 1172, 1438, 1750, 2138, 2594, 3159, 3822, 4638, 5600, 6771, 8154, 9834, 11812, 14203, 17024
Offset: 0

Views

Author

Alois P. Heinz, Oct 10 2018

Keywords

Crossrefs

Column k=8 of A247255.

Programs

  • Maple
    b:= proc(n, i) option remember; `if`(i>n, 0,
          `if`(8*i=n, 1, 0)+add(b(n-i*j, i+1)*(j+1), j=0..n/i))
        end:
    a:= n-> `if`(n=0, 1, b(n, 1)):
    seq(a(n), n=0..70);

Formula

G.f.: Sum_{n>=0} x^(8*n) / Product_{j=1..n-1} (1-x^j)^2.
a(n) ~ Pi^7 * 7! * exp(2*Pi*sqrt(n/3)) / (2^10 * 3^(17/4) * n^(19/4)). - Vaclav Kotesovec, Oct 24 2018

A320320 Number of weakly unimodal compositions of n in which the greatest part occurs exactly nine times.

Original entry on oeis.org

1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 17, 21, 28, 35, 46, 57, 73, 90, 113, 138, 172, 209, 258, 314, 385, 467, 572, 692, 843, 1020, 1238, 1493, 1808, 2175, 2624, 3152, 3790, 4540, 5447, 6509, 7786, 9287, 11080
Offset: 0

Views

Author

Alois P. Heinz, Oct 10 2018

Keywords

Crossrefs

Column k=9 of A247255.

Programs

  • Maple
    b:= proc(n, i) option remember; `if`(i>n, 0,
          `if`(9*i=n, 1, 0)+add(b(n-i*j, i+1)*(j+1), j=0..n/i))
        end:
    a:= n-> `if`(n=0, 1, b(n, 1)):
    seq(a(n), n=0..70);

Formula

G.f.: Sum_{n>=0} x^(9*n) / Product_{j=1..n-1} (1-x^j)^2.
a(n) ~ Pi^8 * 8! * exp(2*Pi*sqrt(n/3)) / (2^11 * 3^(19/4) * n^(21/4)). - Vaclav Kotesovec, Oct 24 2018
Showing 1-10 of 11 results. Next