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 16 results. Next

A219282 Number of superdiagonal bargraphs with area n.

Original entry on oeis.org

1, 1, 1, 2, 3, 4, 6, 9, 13, 18, 25, 35, 49, 68, 93, 126, 170, 229, 308, 413, 551, 731, 965, 1269, 1664, 2177, 2842, 3701, 4806, 6222, 8031, 10337, 13272, 17003, 21740, 27745, 35343, 44936, 57021, 72213, 91274, 115149, 145010, 182309, 228841, 286819, 358964, 448614, 559857, 697694
Offset: 0

Views

Author

Joerg Arndt, Dec 04 2012

Keywords

Comments

Number of compositions n = p(1) + p(2) + ... + p(m) such that p(k) >= k (superdiagonal compositions), see example. - Joerg Arndt, Dec 19 2012
Number of (n-2)-bit binary strings in which the runs of ones are successively (1, 11, 111, 1111, ...), as in for example 00101100111011110011111000... To turn such a string into a composition, add 'X0 to the start of the empty string and the mark ' to the end, replace the runs 1, 11, 111,... with '01, '011, '0111, ... then consider the distances between the marks. - Andrew Woods, Jan 02 2015

Examples

			From _Joerg Arndt_, Dec 19 2012: (Start)
The a(9) = 18 compositions 9 = p(1) + p(2) + ... + p(m) such that p(k) >= k are
[ 1]  [ 1 2 6 ]
[ 2]  [ 1 3 5 ]
[ 3]  [ 1 4 4 ]
[ 4]  [ 1 5 3 ]
[ 5]  [ 1 8 ]
[ 6]  [ 2 2 5 ]
[ 7]  [ 2 3 4 ]
[ 8]  [ 2 4 3 ]
[ 9]  [ 2 7 ]
[10]  [ 3 2 4 ]
[11]  [ 3 3 3 ]
[12]  [ 3 6 ]
[13]  [ 4 2 3 ]
[14]  [ 4 5 ]
[15]  [ 5 4 ]
[16]  [ 6 3 ]
[17]  [ 7 2 ]
[18]  [ 9 ]
(End)
		

Crossrefs

Cf. A063978 (compositions such that p(k) >= k-1 for k >= 2).
Cf. A238873 (superdiagonal partitions), A238394 (strictly superdiagonal partitions), A238874 (strictly superdiagonal compositions), A025147 (strictly superdiagonal partitions into distinct parts).
Cf. A008930 (subdiagonal compositions), A238875 (subdiagonal partitions), A010054 (subdiagonal partitions into distinct parts).
Cf. A098131 (compositions with smallest part >= number of parts; g.f. Sum_{k>=0} x^(k^2)/(1-x)^k).
Cf. A143862 (compositions with every part divisible by number of parts; g.f. Sum_{k>=0} x^(k^2) / (1 - x^k)^k).
Cf. A238860 (partitions with superdiagonal growth), A238861 (compositions with superdiagonal growth), A000009 (partitions into distinct parts have superdiagonal growth by definition).
Cf. A238859 (compositions of n with subdiagonal growth), A238876 (partitions with subdiagonal growth), A001227 (partitions into distinct parts with subdiagonal growth).
Row sums of A305556.

Programs

  • Maple
    b:= proc(n, i) option remember; `if`(n=0, 1,
          add(b(n-j, i+1), j=i..n))
        end:
    a:= n-> b(n, 1):
    seq(a(n), n=0..60);  # Alois P. Heinz, Mar 28 2014
  • Mathematica
    nmax = 50; CoefficientList[Series[Sum[x^(k*(k+1)/2) / (1-x)^k, {k, 0, nmax}], {x, 0, nmax}], x] (* Vaclav Kotesovec, Jan 05 2015 *)
    b[n_, i_] := b[n, i] = If[n==0, 1, Sum[b[n-j, i+1], {j, i, n}]]; a[n_] := b[n, 1]; Table[a[n], {n, 0, 60}] (* Jean-François Alcover, Mar 24 2015, after Alois P. Heinz *)
  • PARI
    N=66; q='q+O('q^N);
    gf=sum(n=0,N, q^(n*(n+1)/2) / (1-q)^n );
    v=Vec(gf)

Formula

G.f.: Sum_{n>=0} q^(n*(n+1)/2) / (1-q)^n.
a(n) = Sum_{k=0..floor((sqrt(8*n+1)-3)/2)} C(n-1-C(k+1,2),k), for n >= 1.

A238874 Strictly superdiagonal compositions: compositions (p1, p2, p3, ...) of n such that pi > i.

Original entry on oeis.org

1, 0, 1, 1, 1, 2, 3, 4, 5, 7, 10, 14, 19, 25, 33, 44, 59, 79, 105, 138, 180, 234, 304, 395, 513, 665, 859, 1105, 1416, 1809, 2306, 2935, 3731, 4737, 6005, 7598, 9593, 12085, 15192, 19061, 23875, 29861, 37299, 46532, 57978, 72145, 89650, 111243, 137837, 170545, 210725, 260034, 320492, 394557, 485213, 596074, 731508
Offset: 0

Views

Author

Joerg Arndt, Mar 23 2014

Keywords

Examples

			The a(13) = 25 such composition of 13 are:
01:  [ 2 3 8 ]
02:  [ 2 4 7 ]
03:  [ 2 5 6 ]
04:  [ 2 6 5 ]
05:  [ 2 7 4 ]
06:  [ 2 11 ]
07:  [ 3 3 7 ]
08:  [ 3 4 6 ]
09:  [ 3 5 5 ]
10:  [ 3 6 4 ]
11:  [ 3 10 ]
12:  [ 4 3 6 ]
13:  [ 4 4 5 ]
14:  [ 4 5 4 ]
15:  [ 4 9 ]
16:  [ 5 3 5 ]
17:  [ 5 4 4 ]
18:  [ 5 8 ]
19:  [ 6 3 4 ]
20:  [ 6 7 ]
21:  [ 7 6 ]
22:  [ 8 5 ]
23:  [ 9 4 ]
24:  [ 10 3 ]
25:  [ 13 ]
		

Crossrefs

Cf. A219282 (superdiagonal compositions), A238873 (superdiagonal partitions), A238394 (strictly superdiagonal partitions), A025147 (strictly superdiagonal partitions into distinct parts).
Cf. A238875 (subdiagonal partitions), A008930 (subdiagonal compositions), A010054 (subdiagonal partitions into distinct parts).
Cf. A238859 (compositions of n with subdiagonal growth), A238876 (partitions with subdiagonal growth), A001227 (partitions into distinct parts with subdiagonal growth).
Cf. A238860 (partitions with superdiagonal growth), A238861 (compositions with superdiagonal growth), A000009 (partitions into distinct parts have superdiagonal growth by definition).

Programs

  • Maple
    b:= proc(n, i) option remember; `if`(n=0, 1,
          add(b(n-j, i+1), j=i..n))
        end:
    a:= n-> b(n, 2):
    seq(a(n), n=0..60);  # Alois P. Heinz, Mar 24 2014
  • Mathematica
    b[n_, i_] := b[n, i] = If[n == 0, 1, Sum[b[n-j, i+1], {j, i, n}]]; a[n_] := b[n, 2]; Table[a[n], {n, 0, 60}] (* Jean-François Alcover, Mar 23 2015, after Alois P. Heinz *)
  • PARI
    N=66; q='q+O('q^N);
    gf=sum(n=0,N, q^(n*(n+3)/2) / (1-q)^n );
    v=Vec(gf) \\ Joerg Arndt, Mar 30 2014

Formula

G.f.: Sum_{n>=0} q^(n*(n+3)/2) / (1-q)^n. - Joerg Arndt, Mar 30 2014

A238875 Subdiagonal partitions: number of partitions (p1, p2, p3, ...) of n with pi <= i.

Original entry on oeis.org

1, 1, 1, 2, 2, 4, 5, 7, 10, 15, 18, 26, 35, 47, 61, 80, 103, 138, 175, 224, 283, 362, 455, 577, 721, 898, 1111, 1380, 1701, 2106, 2577, 3156, 3844, 4680, 5671, 6879, 8312, 10034, 12060, 14478, 17319, 20715, 24703, 29442, 35004, 41578, 49247, 58278, 68796, 81132, 95502, 112320, 131877, 154705, 181158, 211908, 247475
Offset: 0

Views

Author

Joerg Arndt, Mar 24 2014

Keywords

Comments

The partitions are represented as weakly increasing lists of parts.
Partitions with subdiagonal growth (A238876) with first part = 1.

Examples

			The a(11) = 26 such partitions of 11 are:
  01:  [ 1 1 1 1 1 1 1 1 1 1 1 ]
  02:  [ 1 1 1 1 1 1 1 1 1 2 ]
  03:  [ 1 1 1 1 1 1 1 1 3 ]
  04:  [ 1 1 1 1 1 1 1 2 2 ]
  05:  [ 1 1 1 1 1 1 1 4 ]
  06:  [ 1 1 1 1 1 1 2 3 ]
  07:  [ 1 1 1 1 1 1 5 ]
  08:  [ 1 1 1 1 1 2 2 2 ]
  09:  [ 1 1 1 1 1 2 4 ]
  10:  [ 1 1 1 1 1 3 3 ]
  11:  [ 1 1 1 1 1 6 ]
  12:  [ 1 1 1 1 2 2 3 ]
  13:  [ 1 1 1 1 2 5 ]
  14:  [ 1 1 1 1 3 4 ]
  15:  [ 1 1 1 2 2 2 2 ]
  16:  [ 1 1 1 2 2 4 ]
  17:  [ 1 1 1 2 3 3 ]
  18:  [ 1 1 1 3 5 ]
  19:  [ 1 1 1 4 4 ]
  20:  [ 1 1 2 2 2 3 ]
  21:  [ 1 1 2 2 5 ]
  22:  [ 1 1 2 3 4 ]
  23:  [ 1 1 3 3 3 ]
  24:  [ 1 2 2 2 2 2 ]
  25:  [ 1 2 2 2 4 ]
  26:  [ 1 2 2 3 3 ]
		

Crossrefs

Cf. A008930 (subdiagonal compositions), A010054 (subdiagonal partitions into distinct parts).
Cf. A219282 (superdiagonal compositions), A238873 (superdiagonal partitions), A238394 (strictly superdiagonal partitions), A238874 (strictly superdiagonal compositions), A025147 (strictly superdiagonal partitions into distinct parts).
Cf. A238859 (compositions of n with subdiagonal growth), A238876 (partitions with subdiagonal growth), A001227 (partitions into distinct parts with subdiagonal growth).
Cf. A238860 (partitions with superdiagonal growth), A238861 (compositions with superdiagonal growth), A000009 (partitions into distinct parts have superdiagonal growth by definition).
Cf. A129176 and A227543.

Programs

  • PARI
    \\ here b: nr parts; k: max part, b+w-1: partition sum.
    seq(n)={my(M=matrix(n,1), v=vector(n+1)); M[1,1]=v[1]=v[2]=1; for(b=2, n, M=matrix(n-b+1,b,w,k, if(w>=k, sum(j=1, min(b-1,k), M[w+1-k,j]))); v+=concat(vector(b),vecsum(Vec(M))~)); v} \\ Andrew Howroyd, Jan 19 2024
    
  • PARI
    N=55;
    VP=vector(N+1);  VP[1] =VP[2] = 1;  \\ one-based; memoization
    P(n) = VP[n+1];
    for (n=2, N, VP[n+1] = sum( i=0, n-1, P(i) * P(n-1 -i) * x^((i+1)*(n-1-i)) ) );
    x='x+O('x^N);
    A(x) = sum(n=0, N, x^n * P(n) );
    Vec(A(x)) \\ Joerg Arndt, Jan 23 2024

Formula

G.f.: Sum_{n>=0} x^n * P(n) where P(n) is the row polynomial of the n-th row of A129176. This works because A129176(j,k) is also the number of subdiagonal partitions of j+k with j parts. - John Tyler Rascoe, Jan 20 2024

A238859 Compositions with subdiagonal growth: number of compositions (p0, p1, p2, ...) of n with pi - p0 <= i.

Original entry on oeis.org

1, 1, 2, 4, 7, 14, 26, 51, 99, 195, 383, 759, 1504, 2988, 5944, 11840, 23602, 47084, 93975, 187647, 374812, 748857, 1496487, 2991017, 5978900, 11952780, 23897506, 47782081, 95543378, 191053334, 382052880, 764019152, 1527898772, 3055572646, 6110782652, 12220980359
Offset: 0

Views

Author

Joerg Arndt, Mar 24 2014

Keywords

Examples

			There are a(6) = 26 such compositions of 6:
01:  [ 1 1 1 1 1 1 ]
02:  [ 1 1 1 1 2 ]
03:  [ 1 1 1 2 1 ]
04:  [ 1 1 1 3 ]
05:  [ 1 1 2 1 1 ]
06:  [ 1 1 2 2 ]
07:  [ 1 1 3 1 ]
08:  [ 1 2 1 1 1 ]
09:  [ 1 2 1 2 ]
10:  [ 1 2 2 1 ]
11:  [ 1 2 3 ]
12:  [ 2 1 1 1 1 ]
13:  [ 2 1 1 2 ]
14:  [ 2 1 2 1 ]
15:  [ 2 1 3 ]
16:  [ 2 2 1 1 ]
17:  [ 2 2 2 ]
18:  [ 2 3 1 ]
19:  [ 3 1 1 1 ]
20:  [ 3 1 2 ]
21:  [ 3 2 1 ]
22:  [ 3 3 ]
23:  [ 4 1 1 ]
24:  [ 4 2 ]
25:  [ 5 1 ]
26:  [ 6 ]
		

Crossrefs

Cf. A238860 (partitions with superdiagonal growth), A238861 (compositions with superdiagonal growth), A000009 (partitions into distinct parts have superdiagonal growth by definition).
Cf. A238876 (partitions with subdiagonal growth), A001227 (partitions into distinct parts with subdiagonal growth).
Cf. A008930 (subdiagonal compositions), A238875 (subdiagonal partitions), A010054 (subdiagonal partitions into distinct parts).
Cf. A219282 (superdiagonal compositions), A238873 (superdiagonal partitions), A238394 (strictly superdiagonal partitions), A238874 (strictly superdiagonal compositions), A025147 (strictly superdiagonal partitions into distinct parts).

Programs

  • Maple
    b:= proc(n, i) option remember; `if`(n=0, 1,
          `if`(i=0, add(b(n-j, j+1), j=1..n),
           add(b(n-j, i+1), j=1..min(n,i))))
        end:
    a:= n-> b(n, 0):
    seq(a(n), n=0..40);  # Alois P. Heinz, Mar 25 2014
  • Mathematica
    b[n_, i_] := b[n, i] = If[n == 0, 1, If[i == 0, Sum[b[n-j, j+1], {j, 1, n}], Sum[ b[n-j, i+1], {j, 1, Min[n, i]}]]]; a[n_] := b[n, 0]; Table[a[n], {n, 0, 40}] (* Jean-François Alcover, Mar 13 2015, after Alois P. Heinz *)

Formula

a(n) ~ c * 2^n, where c = 1/2 - QPochhammer(1/2)/2 = 0.3556059524566987893605501390353846099555440475796571079426294669... - Vaclav Kotesovec, May 01 2014, updated Mar 17 2024

A238860 Partitions with superdiagonal growth: number of partitions (p0, p1, p2, ...) of n with pi - p0 >= i.

Original entry on oeis.org

1, 1, 1, 2, 2, 3, 4, 6, 6, 9, 11, 15, 18, 23, 26, 35, 43, 53, 64, 79, 91, 113, 135, 166, 197, 237, 277, 331, 387, 459, 541, 646, 754, 888, 1032, 1204, 1395, 1626, 1882, 2196, 2542, 2952, 3404, 3934, 4507, 5182, 5935, 6812, 7800, 8947, 10225, 11709, 13354, 15231, 17314, 19685, 22316, 25323, 28686, 32524, 36817, 41695
Offset: 0

Views

Author

Joerg Arndt, Mar 24 2014

Keywords

Comments

The partitions are represented as weakly increasing lists of parts.

Examples

			There are a(13) = 23 such partitions of 13:
01:  [ 1 2 3 7 ]
02:  [ 1 2 4 6 ]
03:  [ 1 2 5 5 ]
04:  [ 1 2 10 ]
05:  [ 1 3 3 6 ]
06:  [ 1 3 4 5 ]
07:  [ 1 3 9 ]
08:  [ 1 4 4 4 ]
09:  [ 1 4 8 ]
10:  [ 1 5 7 ]
11:  [ 1 6 6 ]
12:  [ 1 12 ]
13:  [ 2 3 8 ]
14:  [ 2 4 7 ]
15:  [ 2 5 6 ]
16:  [ 2 11 ]
17:  [ 3 4 6 ]
18:  [ 3 5 5 ]
19:  [ 3 10 ]
20:  [ 4 9 ]
21:  [ 5 8 ]
22:  [ 6 7 ]
23:  [ 13 ]
		

Crossrefs

Cf. A238861 (compositions with superdiagonal growth), A000009 (partitions into distinct parts have superdiagonal growth by definition).
Cf. A238859 (compositions of n with subdiagonal growth), A238876 (partitions with subdiagonal growth), A001227 (partitions into distinct parts with subdiagonal growth).
Cf. A008930 (subdiagonal compositions), A238875 (subdiagonal partitions), A010054 (subdiagonal partitions into distinct parts).
Cf. A219282 (superdiagonal compositions), A238873 (superdiagonal partitions), A238394 (strictly superdiagonal partitions), A238874 (strictly superdiagonal compositions), A025147 (strictly superdiagonal partitions into distinct parts).

A238861 Compositions with superdiagonal growth: number of compositions (p0, p1, p2, ...) of n with pi - p0 >= i.

Original entry on oeis.org

1, 1, 1, 2, 2, 3, 4, 6, 7, 10, 13, 18, 24, 32, 41, 55, 72, 95, 125, 164, 212, 275, 355, 459, 592, 763, 980, 1257, 1605, 2044, 2598, 3298, 4179, 5290, 6685, 8435, 10623, 13353, 16751, 20978, 26228, 32746, 40831, 50850, 63247, 78569, 97475, 120770, 149429, 184641, 227853, 280832, 345722, 425134, 522232, 640847, 785604
Offset: 0

Views

Author

Joerg Arndt, Mar 24 2014

Keywords

Examples

			There are a(12) = 24 such compositions of 12:
01:  [ 1 2 3 6 ]
02:  [ 1 2 4 5 ]
03:  [ 1 2 5 4 ]
04:  [ 1 2 9 ]
05:  [ 1 3 3 5 ]
06:  [ 1 3 4 4 ]
07:  [ 1 3 8 ]
08:  [ 1 4 3 4 ]
09:  [ 1 4 7 ]
10:  [ 1 5 6 ]
11:  [ 1 6 5 ]
12:  [ 1 7 4 ]
13:  [ 1 8 3 ]
14:  [ 1 11 ]
15:  [ 2 3 7 ]
16:  [ 2 4 6 ]
17:  [ 2 5 5 ]
18:  [ 2 6 4 ]
19:  [ 2 10 ]
20:  [ 3 4 5 ]
21:  [ 3 9 ]
22:  [ 4 8 ]
23:  [ 5 7 ]
24:  [ 12 ]
		

Crossrefs

Cf. A238860 (partitions with superdiagonal growth), A000009 (partitions into distinct parts have superdiagonal growth by definition).
Cf. A238859 (compositions of n with subdiagonal growth), A238876 (partitions with subdiagonal growth), A001227 (partitions into distinct parts with subdiagonal growth).
Cf. A008930 (subdiagonal compositions), A238875 (subdiagonal partitions), A010054 (subdiagonal partitions into distinct parts).
Cf. A219282 (superdiagonal compositions), A238873 (superdiagonal partitions), A238394 (strictly superdiagonal partitions), A238874 (strictly superdiagonal compositions), A025147 (strictly superdiagonal partitions into distinct parts).

Programs

  • Maple
    b:= proc(n, i) option remember; `if`(n=0, 1,
          `if`(i=0, add(b(n-j, j+1), j=1..n),
           add(b(n-j, i+1), j=i..n)))
        end:
    a:= n-> b(n, 0):
    seq(a(n), n=0..60);  # Alois P. Heinz, Mar 26 2014
  • Mathematica
    b[n_, i_] := b[n, i] = If[n == 0, 1, If[i == 0, Sum[b[n-j, j+1], {j, 1, n}], Sum[ b[n-j, i+1], {j, i, n}]]]; a[n_] := b[n, 0]; Table[a[n], {n, 0, 60}] (* Jean-François Alcover, Feb 18 2015, after Alois P. Heinz *)
  • PARI
    N=66; q='q+O('q^N);
    gf = 1 + sum(n=1, N, q^(n*(n+1)/2) / ( (1-q)^(n-1) * (1-q^n) ) );
    v=Vec(gf) \\ Joerg Arndt, Mar 30 2014

Formula

G.f.: 1 + sum(n>=1, q^(n*(n+1)/2) / ( (1-q)^(n-1) * (1-q^n) ) ). [Joerg Arndt, Mar 30 2014]

A238876 Partitions with subdiagonal growth: number of partitions (p0, p1, p2, ...) of n with pi - p0 <= i.

Original entry on oeis.org

1, 1, 2, 3, 4, 6, 8, 10, 15, 20, 24, 34, 46, 58, 76, 97, 126, 166, 209, 262, 333, 422, 529, 667, 833, 1024, 1268, 1567, 1934, 2385, 2911, 3549, 4319, 5237, 6340, 7675, 9274, 11164, 13404, 16046, 19173, 22889, 27278, 32458, 38574, 45750, 54140, 63976, 75449, 88848, 104503, 122773, 144077, 168860, 197609, 230916, 269494
Offset: 0

Views

Author

Joerg Arndt, Mar 24 2014

Keywords

Comments

The partitions are represented as weakly increasing lists of parts.
The number of such partitions that start with part p0 = 1 are given in A238875.

Examples

			The a(9) = 20 such partitions are:
01:  [ 1 1 1 1 1 1 1 1 1 ]
02:  [ 1 1 1 1 1 1 1 2 ]
03:  [ 1 1 1 1 1 1 3 ]
04:  [ 1 1 1 1 1 2 2 ]
05:  [ 1 1 1 1 1 4 ]
06:  [ 1 1 1 1 2 3 ]
07:  [ 1 1 1 1 5 ]
08:  [ 1 1 1 2 2 2 ]
09:  [ 1 1 1 2 4 ]
10:  [ 1 1 1 3 3 ]
11:  [ 1 1 2 2 3 ]
12:  [ 1 1 3 4 ]
13:  [ 1 2 2 2 2 ]
14:  [ 1 2 2 4 ]
15:  [ 1 2 3 3 ]
16:  [ 2 2 2 3 ]
17:  [ 2 3 4 ]
18:  [ 3 3 3 ]
19:  [ 4 5 ]
20:  [ 9 ]
		

Crossrefs

Cf. A238859 (compositions with subdiagonal growth), A001227 (partitions into distinct parts with subdiagonal growth).
Cf. A238860 (partitions with superdiagonal growth), A238861 (compositions with superdiagonal growth), A000009 (partitions into distinct parts have superdiagonal growth by definition).
Cf. A008930 (subdiagonal compositions), A010054 (subdiagonal partitions into distinct parts).
Cf. A219282 (superdiagonal compositions), A238873 (superdiagonal partitions), A238394 (strictly superdiagonal partitions), A238874 (strictly superdiagonal compositions), A025147 (strictly superdiagonal partitions into distinct parts).

A387118 Number of integer partitions of n without choosable initial intervals.

Original entry on oeis.org

0, 0, 1, 1, 2, 4, 6, 8, 13, 19, 28, 37, 52, 70, 97, 130, 172, 224, 293, 378, 492, 630, 806, 1018, 1286, 1609, 2019, 2514, 3131, 3874, 4784
Offset: 0

Views

Author

Gus Wiseman, Sep 02 2025

Keywords

Comments

The initial interval of a nonnegative integer x is the set {1,...,x}.
We say that a sequence of nonempty sets is choosable iff it is possible to choose a different element from each set. For example, ({1,2},{1},{1,3}) is choosable because we have the choice (2,1,3), but ({1},{2},{1,3},{2,3}) is not.

Examples

			The partition y = (2,2,1) has initial intervals ({1,2},{1,2},{1}), which are not choosable, so y is counted under a(5).
The a(2) = 1 through a(8) = 13 partitions:
  (11)  (111)  (211)   (221)    (222)     (511)      (611)
               (1111)  (311)    (411)     (2221)     (2222)
                       (2111)   (2211)    (3211)     (3221)
                       (11111)  (3111)    (4111)     (3311)
                                (21111)   (22111)    (4211)
                                (111111)  (31111)    (5111)
                                          (211111)   (22211)
                                          (1111111)  (32111)
                                                     (41111)
                                                     (221111)
                                                     (311111)
                                                     (2111111)
                                                     (11111111)
		

Crossrefs

The complement is counted by A238873, ranks A387112.
The complement for divisors is A239312, ranks A368110.
For divisors instead of initial intervals we have A370320, ranks A355740.
The complement for prime factors is A370592, ranks A368100.
For prime factors instead of initial intervals we have A370593, ranks A355529.
These partitions have ranks A387113.
For partitions instead of initial intervals we have A387134.
The complement for partitions is A387328.
For strict partitions instead of initial intervals we have A387137, ranks A387176.
The complement for strict partitions is A387178.
A000005 counts divisors.
A000041 counts integer partitions, strict A000009.
A367902 counts choosable set-systems, complement A367903.
A370582 counts sets with choosable prime factors, complement A370583.

Programs

  • Mathematica
    Table[Length[Select[IntegerPartitions[n],Select[Tuples[Range/@#],UnsameQ@@#&]=={}&]],{n,0,10}]

A387137 Number of integer partitions of n whose parts do not have choosable sets of strict integer partitions.

Original entry on oeis.org

0, 0, 1, 1, 3, 4, 6, 9, 14, 20, 29, 39, 56, 74, 101, 134, 178, 232, 305, 392, 508, 646, 825, 1042, 1317, 1649, 2066, 2567, 3190, 3937, 4859, 5960, 7306, 8914, 10863, 13183, 15984, 19304, 23288, 28003, 33631, 40272, 48166, 57453, 68448, 81352, 96568, 114383
Offset: 0

Views

Author

Gus Wiseman, Sep 02 2025

Keywords

Comments

We say that a sequence of nonempty sets is choosable iff it is possible to choose a different element from each set. For example, ({1,2},{1},{1,3}) is choosable because we have the choice (2,1,3), but ({1},{2},{1,3},{2,3}) is not.
a(n) is the number of integer partitions of n such that it is not possible to choose a sequence of distinct strict integer partitions, one of each part.
Also the number of integer partitions of n with at least one part k whose multiplicity exceeds A000009(k).

Examples

			The a(2) = 1 through a(8) = 14 partitions:
  (11)  (111)  (22)    (221)    (222)     (322)      (422)
               (211)   (311)    (411)     (511)      (611)
               (1111)  (2111)   (2211)    (2221)     (2222)
                       (11111)  (3111)    (3211)     (3221)
                                (21111)   (4111)     (3311)
                                (111111)  (22111)    (4211)
                                          (31111)    (5111)
                                          (211111)   (22211)
                                          (1111111)  (32111)
                                                     (41111)
                                                     (221111)
                                                     (311111)
                                                     (2111111)
                                                     (11111111)
		

Crossrefs

The complement for initial intervals is A238873, ranks A387112.
The complement for divisors is A239312, ranks A368110.
Twice-partitions of this type (into distinct strict partitions) are counted by A358914.
For divisors instead of strict partitions we have A370320, ranks A355740.
The complement for prime factors is A370592, ranks A368100.
For prime factors instead of strict partitions we have A370593, ranks A355529.
For initial intervals instead of strict partitions we have A387118, ranks A387113.
For all partitions instead of strict partitions we have A387134, ranks A387577.
These partitions are ranked by A387176.
The complement is counted by A387178, ranks A387177.
The complement for partitions is A387328, ranks A387576.
The version for constant partitions is A387329, ranks A387180.
The complement for constant partitions is A387330, ranks A387181.
A000005 counts divisors.
A000041 counts integer partitions, strict A000009.
A367902 counts choosable set-systems, complement A367903.

Programs

  • Mathematica
    strptns[n_]:=Select[IntegerPartitions[n],UnsameQ@@#&];
    Table[Length[Select[IntegerPartitions[n],Length[Select[Tuples[strptns/@#],UnsameQ@@#&]]==0&]],{n,0,15}]

A387112 Numbers with (strictly) choosable initial intervals of prime indices.

Original entry on oeis.org

1, 2, 3, 5, 6, 7, 9, 10, 11, 13, 14, 15, 17, 19, 21, 22, 23, 25, 26, 29, 30, 31, 33, 34, 35, 37, 38, 39, 41, 42, 43, 45, 46, 47, 49, 50, 51, 53, 55, 57, 58, 59, 61, 62, 63, 65, 66, 67, 69, 70, 71, 73, 74, 75, 77, 78, 79, 82, 83, 85, 86, 87, 89, 91, 93, 94, 95
Offset: 1

Views

Author

Gus Wiseman, Aug 23 2025

Keywords

Comments

First differs from A371088 in having a(86) = 121.
The initial interval of a nonnegative integer x is the set {1,...,x}.
A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.
We say that a set or sequence of nonempty sets is choosable iff it is possible to choose a different element from each set. For example, ({1,2},{1},{1,3}) is choosable because we have the choice (2,1,3), but ({1,2,3},{1},{1,3},{2}) is not.
This sequence lists all numbers k such that if the prime indices of k are (x1,x2,...,xz), then the sequence of sets (initial intervals) ({1,...,x1},{1,...,x2},...,{1,...,xz}) is choosable.

Examples

			The prime indices of 85 are {3,7}, with initial intervals {{1,2,3},{1,2,3,4,5,6,7}}, which are choosable, so 85 is in the sequence
The prime indices of 90 are {1,2,2,3}, with initial intervals {{1},{1,2},{1,2},{1,2,3}}, which are not choosable, so 90 is not in the sequence.
		

Crossrefs

Partitions of this type are counted by A238873, complement A387118.
For partitions instead of initial intervals we have A276078, complement A276079.
For prime factors instead of initial intervals we have A368100, complement A355529.
For divisors instead of initial intervals we have A368110, complement A355740.
These are all the positions of nonzero terms in A387111, complement A387134.
The complement is A387113.
For strict partitions instead of initial intervals we have A387176, complement A387137.
A061395 gives greatest prime index, least A055396.
A112798 lists prime indices, row sums A056239 or A066328, lengths A001222.
A120383 lists numbers divisible by all of their prime indices.
A367902 counts choosable set-systems, complement A367903.
A370582 counts sets with choosable prime factors, complement A370583.
A370585 counts maximal subsets with choosable prime factors.

Programs

  • Mathematica
    prix[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]];
    Select[Range[100],Select[Tuples[Range/@prix[#]],UnsameQ@@#&]!={}&]
Showing 1-10 of 16 results. Next