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-20 of 32 results. Next

A207032 Triangle read by rows: T(n,k) = number of odd/even parts >= k in the last section of the set of partitions of n, if k is odd/even.

Original entry on oeis.org

1, 1, 1, 3, 0, 1, 3, 3, 0, 1, 7, 1, 2, 0, 1, 9, 6, 2, 2, 0, 1, 15, 4, 4, 1, 2, 0, 1, 19, 13, 4, 5, 1, 2, 0, 1, 32, 10, 10, 3, 4, 1, 2, 0, 1, 40, 24, 10, 9, 4, 4, 1, 2, 0, 1, 60, 23, 18, 8, 8, 3, 4, 1, 2, 0, 1, 78, 46, 22, 19, 8, 9, 3, 4, 1, 2, 0, 1
Offset: 1

Views

Author

Omar E. Pol, Feb 17 2012

Keywords

Comments

For the calculation of row n, the number of odd/even parts, etc, take the row n from the triangle A207031 and then follow the same rules of A206563.

Examples

			Triangle begins:
  1;
  1,   1;
  3,   0,  1;
  3,   3,  0,  1;
  7,   1,  2,  0, 1;
  9,   6,  2,  2, 0, 1;
  15,  4,  4,  1, 2, 0, 1;
  19, 13,  4,  5, 1, 2, 0, 1;
  32, 10, 10,  3, 4, 1, 2, 0, 1;
  40, 24, 10,  9, 4, 4, 1, 2, 0, 1;
  60, 23, 18,  8, 8, 3, 4, 1, 2, 0, 1;
  78, 46, 22, 19, 8, 9, 3, 4, 1, 2, 0, 1;
		

Crossrefs

Formula

It appears that T(n,k) = abs(Sum_{j=k..n} (-1)^j*A207031(n,j)).
It appears that A182703(n,k) = T(n,k) - T(n,k+2). - Omar E. Pol, Feb 26 2012

A340031 Irregular triangle read by rows T(n,k) in which row n lists n blocks, where the m-th block consists of A000041(m-1) copies of the j-th row of triangle A127093, where j = n - m + 1 and 1 <= m <= n.

Original entry on oeis.org

1, 1, 2, 1, 1, 0, 3, 1, 2, 1, 1, 1, 2, 0, 4, 1, 0, 3, 1, 2, 1, 2, 1, 1, 1, 1, 0, 0, 0, 5, 1, 2, 0, 4, 1, 0, 3, 1, 0, 3, 1, 2, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 2, 3, 0, 0, 6, 1, 0, 0, 0, 5, 1, 2, 0, 4, 1, 2, 0, 4, 1, 0, 3, 1, 0, 3, 1, 0, 3, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1
Offset: 1

Views

Author

Omar E. Pol, Dec 26 2020

Keywords

Comments

Another version of A338156 which is the main sequence with further information about the correspondence divisor/part.

Examples

			Triangle begins:
[1];
[1,2],      [1];
[1,0,3],    [1,2],    [1],    [1];
[1,2,0,4],  [1,0,3],  [1,2],  [1,2],  [1],  [1],  [1];
[1,0,0,0,5],[1,2,0,4],[1,0,3],[1,0,3],[1,2],[1,2],[1,2],[1],[1],[1],[1],[1];
[...
Written as an irregular tetrahedron the first five slices are:
[1],
-------
[1, 2],
[1],
----------
[1, 0, 3],
[1, 2],
[1],
[1];
-------------
[1, 2, 0, 4],
[1, 0, 3],
[1, 2],
[1, 2],
[1],
[1],
[1];
----------------
[1, 0, 0, 0, 5],
[1, 2, 0, 4],
[1, 0, 3],
[1, 0, 3],
[1, 2],
[1, 2],
[1, 2],
[1],
[1],
[1],
[1],
[1];
.
The following table formed by three zones shows the correspondence between divisors and parts (n = 1..5):
.
|---|---------|-----|-------|---------|-----------|-------------|
| n |         |  1  |   2   |    3    |     4     |      5      |
|---|---------|-----|-------|---------|-----------|-------------|
| P |         |     |       |         |           |             |
| A |         |     |       |         |           |             |
| R |         |     |       |         |           |             |
| T |         |     |       |         |           |  5          |
| I |         |     |       |         |           |  3 2        |
| T |         |     |       |         |  4        |  4 1        |
| I |         |     |       |         |  2 2      |  2 2 1      |
| O |         |     |       |  3      |  3 1      |  3 1 1      |
| N |         |     |  2    |  2 1    |  2 1 1    |  2 1 1 1    |
| S |         |  1  |  1 1  |  1 1 1  |  1 1 1 1  |  1 1 1 1 1  |
|---|---------|-----|-------|---------|-----------|-------------|
.
|---|---------|-----|-------|---------|-----------|-------------|
|   | A181187 |  1  |  3 1  |  6 2 1  | 12 5 2 1  | 20 8 4 2 1  |
| L |         |  |  |  |/|  |  |/|/|  |  |/|/|/|  |  |/|/|/|/|  |
| I | A066633 |  1  |  2 1  |  4 1 1  |  7 3 1 1  | 12 4 2 1 1  |
| N |         |  *  |  * *  |  * * *  |  * * * *  |  * * * * *  |
| K | A002260 |  1  |  1 2  |  1 2 3  |  1 2 3 4  |  1 2 3 4 5  |
|   |         |  =  |  = =  |  = = =  |  = = = =  |  = = = = =  |
|   | A138785 |  1  |  2 2  |  4 2 3  |  7 6 3 4  | 12 8 6 4 5  |
|---|---------|-----|-------|---------|-----------|-------------|
.
|---|---------|-----|-------|---------|-----------|-------------|
|   | A127093 |  1  |  1 2  |  1 0 3  |  1 2 0 4  |  1 0 0 0 5  |
|   |---------|-----|-------|---------|-----------|-------------|
|   | A127093 |     |  1    |  1 2    |  1 0 3    |  1 2 0 4    |
|   |---------|-----|-------|---------|-----------|-------------|
| D | A127093 |     |       |  1      |  1 2      |  1 0 3      |
| I | A127093 |     |       |  1      |  1 2      |  1 0 3      |
| V |---------|-----|-------|---------|-----------|-------------|
| I | A127093 |     |       |         |  1        |  1 2        |
| S | A127093 |     |       |         |  1        |  1 2        |
| O | A127093 |     |       |         |  1        |  1 2        |
| R |---------|-----|-------|---------|-----------|-------------|
| S | A127093 |     |       |         |           |  1          |
|   | A127093 |     |       |         |           |  1          |
|   | A127093 |     |       |         |           |  1          |
|   | A127093 |     |       |         |           |  1          |
|   | A127093 |     |       |         |           |  1          |
|---|---------|-----|-------|---------|-----------|-------------|
.
The table is essentially the same table of A338156 but here, in the lower zone, every row is A127093 instead of A027750.
.
		

Crossrefs

Programs

  • Mathematica
    A127093row[n_]:=Table[Boole[Divisible[n,k]]k,{k,n}];
    A340031row[n_]:=Flatten[Table[ConstantArray[A127093row[n-m+1],PartitionsP[m-1]],{m,n}]];
    Array[A340031row,7] (* Paolo Xausa, Sep 28 2023 *)

A207034 Sum of all parts minus the number of parts of the n-th partition in the list of colexicographically ordered partitions of j, if 1<=n<=A000041(j).

Original entry on oeis.org

0, 1, 2, 2, 3, 3, 4, 3, 4, 4, 5, 4, 5, 5, 6, 4, 5, 5, 6, 6, 6, 7, 5, 6, 6, 7, 6, 7, 7, 8, 5, 6, 6, 7, 7, 7, 8, 7, 8, 8, 8, 9, 6, 7, 7, 8, 7, 8, 8, 9, 8, 8, 9, 9, 9, 10, 6, 7, 7, 8, 8, 8, 9, 8, 9, 9, 9, 10, 8, 9, 9, 10, 9, 10, 10, 10, 11, 7, 8, 8, 9, 8, 9
Offset: 1

Views

Author

Omar E. Pol, Feb 20 2012

Keywords

Comments

a(n) is also the column number in which is located the part of size 1 in the n-th zone of the tail of the last section of the set of partitions of k in colexicographic order, minus the column number in which is located the part of size 1 in the first row of the same tail, when k -> infinity (see example). For the definition of "section" see A135010.

Examples

			Illustration of initial terms, n = 1..15. Consider the last 15 rows of the tail of the last section of the set of partitions in colexicographic order of any integer >= 8. The tail contains at least A000041(8-1) = 15 parts of size 1. a(n) is also the number of dots in the n-th row of the diagram.
----------------------------------
n      Tail                  a(n)
----------------------------------
15        1 . . . . . .       6
14          1 . . . . .       5
13          1 . . . . .       5
12            1 . . . .       4
11          1 . . . . .       5
10            1 . . . .       4
9             1 . . . .       4
8               1 . . .       3
7             1 . . . .       4
6               1 . . .       3
5               1 . . .       3
4                 1 . .       2
3                 1 . .       2
2                   1 .       1
1                     1       0
----------------------------------
Written as a triangle:
0;
1;
2;
2,3;
3,4;
3,4,4,5;
4,5,5,6;
4,5,5,6,6,6,7;
5,6,6,7,6,7,7,8;
5,6,6,7,7,7,8,7,8,8,8,9;
6,7,7,8,7,8,8,9,8,8,9,9,9,10;
6,7,7,8,8,8,9,8,9,9,9,10,8,9,9,10,9,10,10,10,11;
...
Consider a matrix [j X A000041(j)] in which the rows represent the partitions of j in colexicographic order (see A211992). Every part of every partition is located in a cell of the matrix. We can see that a(n) is the number of empty cells in row n for any integer j, if A000041(j) >= n. The number of empty cells in row n equals the sum of all parts minus the number of parts in the n-th partition of j.
Illustration of initial terms. The smallest part of every partition is located in the last column of the matrix.
---------------------------------------------------------
.   j: 1    2       3         4           5             6
n a(n)
---------------------------------------------------------
1  0 | 1  1 1   1 1 1   1 1 1 1   1 1 1 1 1   1 1 1 1 1 1
2  1 |    . 2   . 2 1   . 2 1 1   . 2 1 1 1   . 2 1 1 1 1
3  2 |          . . 3   . . 3 1   . . 3 1 1   . . 3 1 1 1
4  2 |                  . . 2 2   . . 2 2 1   . . 2 2 1 1
5  3 |                  . . . 4   . . . 4 1   . . . 4 1 1
6  3 |                            . . . 3 2   . . . 3 2 1
7  4 |                            . . . . 5   . . . . 5 1
8  3 |                                        . . . 2 2 2
9  4 |                                        . . . . 4 2
10 4 |                                        . . . . 3 3
11 5 |                                        . . . . . 6
...
Illustration of initial terms. In this case the largest part of every partition is located in the first column of the matrix.
---------------------------------------------------------
.   j: 1    2       3         4           5             6
n a(n)
---------------------------------------------------------
1  0 | 1  1 1   1 1 1   1 1 1 1   1 1 1 1 1   1 1 1 1 1 1
2  1 |    2 .   2 1 .   2 1 1 .   2 1 1 1 .   2 1 1 1 1 .
3  2 |          3 . .   3 1 . .   3 1 1 . .   3 1 1 1 . .
4  2 |                  2 2 . .   2 2 1 . .   2 2 1 1 . .
5  3 |                  4 . . .   4 1 . . .   4 1 1 . . .
6  3 |                            3 2 . . .   3 2 1 . . .
7  4 |                            5 . . . .   5 1 . . . .
8  3 |                                        2 2 2 . . .
9  4 |                                        4 2 . . . .
10 4 |                                        3 3 . . . .
11 5 |                                        6 . . . . .
...
		

Crossrefs

Row r has length A187219(r). Partial sums give A207038. Row sums give A207035. Right border gives A001477. Where records occur give A000041 without repetitions.

Formula

a(n) = t(n) - A194548(n), if n >= 2, where t(n) is the n-th element of the following sequence: triangle read by rows in which row n lists n repeated k times, where k = A187219(n).
a(n) = A000120(A194602(n-1)) = A000120(A228354(n)-1).
a(n) = i - A193173(i,n), i >= 1, 1<=n<=A000041(i).

A340011 Irregular triangle read by rows T(n,k) in which row n lists n blocks, where the m-th block consists of the j-th row of triangle A127093 but with every term multiplied by A000041(m-1), where j = n - m + 1 and 1 <= m <= n.

Original entry on oeis.org

1, 1, 2, 1, 1, 0, 3, 1, 2, 2, 1, 2, 0, 4, 1, 0, 3, 2, 4, 3, 1, 0, 0, 0, 5, 1, 2, 0, 4, 2, 0, 6, 3, 6, 5, 1, 2, 3, 0, 0, 6, 1, 0, 0, 0, 5, 2, 4, 0, 8, 3, 0, 9, 5, 10, 7, 1, 0, 0, 0, 0, 0, 7, 1, 2, 3, 0, 0, 6, 2, 0, 0, 0, 10, 3, 6, 0, 12, 5, 0, 15, 7, 14, 11, 1, 2, 0, 4, 0, 0, 0, 8
Offset: 1

Views

Author

Omar E. Pol, Dec 26 2020

Keywords

Comments

This triangle is a condensed version of the more irregular triangle A340031.
For further information about the correspondence divisor/part see A338156.

Examples

			Triangle begins:
[1];
[1, 2],          [1];
[1, 0, 3],       [1, 2],       [2];
[1, 2, 0, 4],    [1, 0, 3],    [2, 4],    [3];
[1, 0, 0, 0, 5], [1, 2, 0, 4], [2, 0, 6], [3, 6], [5];
[...
Row sums give A066186.
Written as an irregular tetrahedron the first five slices are:
--
1;
-----
1, 2,
1;
--------
1, 0, 3,
1, 2,
2;
-----------
1, 2, 0, 4,
1, 0, 3,
2, 4,
3;
--------------
1, 0, 0, 0, 5,
1, 2, 0, 4,
2, 0, 6,
3, 6,
5;
--------------
Row sums give A339106.
The following table formed by four zones shows the correspondence between divisor and parts (n = 1..5):
.
|---|---------|-----|-------|---------|-----------|-------------|
| n |         |  1  |   2   |    3    |     4     |      5      |
|---|---------|-----|-------|---------|-----------|-------------|
| P |         |     |       |         |           |             |
| A |         |     |       |         |           |             |
| R |         |     |       |         |           |             |
| T |         |     |       |         |           |  5          |
| I |         |     |       |         |           |  3 2        |
| T |         |     |       |         |  4        |  4 1        |
| I |         |     |       |         |  2 2      |  2 2 1      |
| O |         |     |       |  3      |  3 1      |  3 1 1      |
| N |         |     |  2    |  2 1    |  2 1 1    |  2 1 1 1    |
| S |         |  1  |  1 1  |  1 1 1  |  1 1 1 1  |  1 1 1 1 1  |
|---|---------|-----|-------|---------|-----------|-------------|
.
|---|---------|-----|-------|---------|-----------|-------------|
|   | A181187 |  1  |  3 1  |  6 2 1  | 12 5 2 1  | 20 8 4 2 1  |
| L |         |  |  |  |/|  |  |/|/|  |  |/|/|/|  |  |/|/|/|/|  |
| I | A066633 |  1  |  2 1  |  4 1 1  |  7 3 1 1  | 12 4 2 1 1  |
| N |         |  *  |  * *  |  * * *  |  * * * *  |  * * * * *  |
| K | A002260 |  1  |  1 2  |  1 2 3  |  1 2 3 4  |  1 2 3 4 5  |
|   |         |  =  |  = =  |  = = =  |  = = = =  |  = = = = =  |
|   | A138785 |  1  |  2 2  |  4 2 3  |  7 6 3 4  | 12 8 6 4 5  |
|---|---------|-----|-------|---------|-----------|-------------|
.
|---|---------|-----|-------|---------|-----------|-------------|
|   | A127093 |  1  |  1 2  |  1 0 3  |  1 2 0 4  |  1 0 0 0 5  |
|   |---------|-----|-------|---------|-----------|-------------|
|   | A127093 |     |  1    |  1 2    |  1 0 3    |  1 2 0 4    |
|   |---------|-----|-------|---------|-----------|-------------|
| D | A127093 |     |       |  1      |  1 2      |  1 0 3      |
| I | A127093 |     |       |  1      |  1 2      |  1 0 3      |
| V |---------|-----|-------|---------|-----------|-------------|
| I | A127093 |     |       |         |  1        |  1 2        |
| S | A127093 |     |       |         |  1        |  1 2        |
| O | A127093 |     |       |         |  1        |  1 2        |
| R |---------|-----|-------|---------|-----------|-------------|
| S | A127093 |     |       |         |           |  1          |
|   | A127093 |     |       |         |           |  1          |
|   | A127093 |     |       |         |           |  1          |
|   | A127093 |     |       |         |           |  1          |
|   | A127093 |     |       |         |           |  1          |
|---|---------|-----|-------|---------|-----------|-------------|
.
|---|---------|-----|-------|---------|-----------|-------------|
|   | A127093 |  1  |  1 2  |  1 0 3  |  1 2 0 4  |  1 0 0 0 5  |
| C | A127093 |     |  1    |  1 2    |  1 0 3    |  1 2 0 4    |
| O |    -    |     |       |  2      |  2 4      |  2 0 6      |
| N |    -    |     |       |         |  3        |  3 6        |
| D |    -    |     |       |         |           |  5          |
|---|---------|-----|-------|---------|-----------|-------------|
.
This lower zone of the table is a condensed version of the "divisors" zone.
		

Crossrefs

Programs

A340032 Irregular triangle read by rows T(n,k) in which row n lists n blocks, where the m-th block consists of A000041(n-m) copies of the row m of triangle A127093, with 1 <= m <= n.

Original entry on oeis.org

1, 1, 1, 2, 1, 1, 1, 2, 1, 0, 3, 1, 1, 1, 1, 2, 1, 2, 1, 0, 3, 1, 2, 0, 4, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 0, 3, 1, 0, 3, 1, 2, 0, 4, 1, 0, 0, 0, 5, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 0, 3, 1, 0, 3, 1, 0, 3, 1, 2, 0, 4, 1, 2, 0, 4, 1, 0, 0, 0, 5, 1, 2, 3, 0, 0, 6
Offset: 1

Views

Author

Omar E. Pol, Dec 26 2020

Keywords

Comments

For further information about the correspondence divisor/part see A338156.

Examples

			Triangle begins:
  1;
  1, 1, 2;
  1, 1, 1, 2, 1, 0, 3;
  1, 1, 1, 1, 2, 1, 2, 1, 0, 3, 1, 2, 0, 4;
  1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 0, 3, 1, 0, 3, 1, 2, 0, 4, 1, 0, 0, 0, 5;
  ...
Written as an irregular tetrahedron the first five slices are:
  1;
  --
  1,
  1, 2;
  -----
  1,
  1,
  1, 2,
  1, 0, 3;
  --------
  1,
  1,
  1,
  1, 2,
  1, 2,
  1, 0, 3,
  1, 2, 0, 4;
  -----------
  1,
  1,
  1,
  1,
  1,
  1, 2,
  1, 2,
  1, 2,
  1, 0, 3,
  1, 0, 3,
  1, 2, 0, 4,
  1, 0, 0, 0, 5;
  --------------
  ...
The slices of the tetrahedron appear in the upper zone of the following table (formed by three zones) which shows the correspondence between divisors and parts (n = 1..5):
.
|---|---------|-----|-------|---------|-----------|-------------|
| n |         |  1  |   2   |    3    |     4     |      5      |
|---|---------|-----|-------|---------|-----------|-------------|
|   | A127093 |     |       |         |           |  1          |
|   | A127093 |     |       |         |           |  1          |
|   | A127093 |     |       |         |           |  1          |
|   | A127093 |     |       |         |           |  1          |
| D | A127093 |     |       |         |           |  1          |
| I |---------|-----|-------|---------|-----------|-------------|
| V | A127093 |     |       |         |  1        |  1 2        |
| I | A127093 |     |       |         |  1        |  1 2        |
| S | A127093 |     |       |         |  1        |  1 2        |
| O |---------|-----|-------|---------|-----------|-------------|
| R | A127093 |     |       |  1      |  1 2      |  1 0 3      |
| S | A127093 |     |       |  1      |  1 2      |  1 0 3      |
|   |---------|-----|-------|---------|-----------|-------------|
|   | A127093 |     |  1    |  1 2    |  1 0 3    |  1 2 0 4    |
|   |---------|-----|-------|---------|-----------|-------------|
|   | A127093 |  1  |  1 2  |  1 0 3  |  1 2 0 4  |  1 0 0 0 5  |
|---|---------|-----|-------|---------|-----------|-------------|
.
|---|---------|-----|-------|---------|-----------|-------------|
|   | A138785 |  1  |  2 2  |  4 2 3  |  7 6 3 4  | 12 8 6 4 5  |
|   |         |  =  |  = =  |  = = =  |  = = = =  |  = = = = =  |
| L | A002260 |  1  |  1 2  |  1 2 3  |  1 2 3 4  |  1 2 3 4 5  |
| I |         |  *  |  * *  |  * * *  |  * * * *  |  * * * * *  |
| N | A066633 |  1  |  2 1  |  4 1 1  |  7 3 1 1  | 12 4 2 1 1  |
| K |         |  |  |  |\|  |  |\|\|  |  |\|\|\|  |  |\|\|\|\|  |
|   | A181187 |  1  |  3 1  |  6 2 1  | 12 5 2 1  | 20 8 4 2 1  |
|---|---------|-----|-------|---------|-----------|-------------|
.
|---|---------|-----|-------|---------|-----------|-------------|
| P |         |  1  |  1 1  |  1 1 1  |  1 1 1 1  |  1 1 1 1 1  |
| A |         |     |  2    |  2 1    |  2 1 1    |  2 1 1 1    |
| R |         |     |       |  3      |  3 1      |  3 1 1      |
| T |         |     |       |         |  2 2      |  2 2 1      |
| I |         |     |       |         |  4        |  4 1        |
| T |         |     |       |         |           |  3 2        |
| I |         |     |       |         |           |  5          |
| O |         |     |       |         |           |             |
| N |         |     |       |         |           |             |
| S |         |     |       |         |           |             |
|---|---------|-----|-------|---------|-----------|-------------|
.
The table is essentially the same table of A340035 but here, in the upper zone, every row is A127093 instead of A027750.
Also the above table is the table of A340031 upside down.
		

Crossrefs

Programs

  • Mathematica
    A127093row[n_]:=Table[Boole[Divisible[n,k]]k,{k,n}];
    A340032row[n_]:=Flatten[Table[ConstantArray[A127093row[m],PartitionsP[n-m]],{m,n}]];
    Array[A340032row,7] (* Paolo Xausa, Sep 28 2023 *)

A340056 Irregular triangle read by rows T(n,k) in which row n lists n blocks, where the m-th block consists of the divisors of j multiplied by A000041(m-1), where j = n - m + 1 and 1 <= m <= n.

Original entry on oeis.org

1, 1, 2, 1, 1, 3, 1, 2, 2, 1, 2, 4, 1, 3, 2, 4, 3, 1, 5, 1, 2, 4, 2, 6, 3, 6, 5, 1, 2, 3, 6, 1, 5, 2, 4, 8, 3, 9, 5, 10, 7, 1, 7, 1, 2, 3, 6, 2, 10, 3, 6, 12, 5, 15, 7, 14, 11, 1, 2, 4, 8, 1, 7, 2, 4, 6, 12, 3, 15, 5, 10, 20, 7, 21, 11, 22, 15, 1, 3, 9, 1, 2, 4, 8, 2, 14, 3, 6, 9, 18, 5
Offset: 1

Views

Author

Omar E. Pol, Dec 27 2020

Keywords

Comments

This triangle is a condensed version of the more irregular triangle A338156 which is the main sequence with further information about the correspondence divisor/part.

Examples

			Triangle begins:
  [1];
  [1, 2],    [1];
  [1, 3],    [1, 2],    [2];
  [1, 2, 4], [1, 3],    [2, 4], [3];
  [1, 5],    [1, 2, 4], [2, 6], [3, 6], [5];
  [...
The row sums of triangle give A066186.
Written as an irregular tetrahedron the first five slices are:
  1;
  -----
  1, 2,
  1;
  -----
  1, 3,
  1, 2,
  2;
  --------
  1, 2, 4,
  1, 3,
  2, 4,
  3;
  --------
  1, 5,
  1, 2, 4,
  2, 6,
  3, 6,
  5;
  --------
The row sums of tetrahedron give A339106.
The slices of the tetrahedron appear in the following table formed by four zones shows the correspondence between divisor and parts (n = 1..5):
.
|---|---------|-----|-------|---------|-----------|-------------|
| n |         |  1  |   2   |    3    |     4     |      5      |
|---|---------|-----|-------|---------|-----------|-------------|
| P |         |     |       |         |           |             |
| A |         |     |       |         |           |             |
| R |         |     |       |         |           |             |
| T |         |     |       |         |           |  5          |
| I |         |     |       |         |           |  3 2        |
| T |         |     |       |         |  4        |  4 1        |
| I |         |     |       |         |  2 2      |  2 2 1      |
| O |         |     |       |  3      |  3 1      |  3 1 1      |
| N |         |     |  2    |  2 1    |  2 1 1    |  2 1 1 1    |
| S |         |  1  |  1 1  |  1 1 1  |  1 1 1 1  |  1 1 1 1 1  |
|---|---------|-----|-------|---------|-----------|-------------|
.
|---|---------|-----|-------|---------|-----------|-------------|
|   | A181187 |  1  |  3 1  |  6 2 1  | 12 5 2 1  | 20 8 4 2 1  |
| L |         |  |  |  |/|  |  |/|/|  |  |/|/|/|  |  |/|/|/|/|  |
| I | A066633 |  1  |  2 1  |  4 1 1  |  7 3 1 1  | 12 4 2 1 1  |
| N |         |  *  |  * *  |  * * *  |  * * * *  |  * * * * *  |
| K | A002260 |  1  |  1 2  |  1 2 3  |  1 2 3 4  |  1 2 3 4 5  |
|   |         |  =  |  = =  |  = = =  |  = = = =  |  = = = = =  |
|   | A138785 |  1  |  2 2  |  4 2 3  |  7 6 3 4  | 12 8 6 4 5  |
|---|---------|-----|-------|---------|-----------|-------------|
.
|---|---------|-----|-------|---------|-----------|-------------|
|   | A027750 |  1  |  1 2  |  1   3  |  1 2   4  |  1       5  |
|   |---------|-----|-------|---------|-----------|-------------|
|   | A027750 |     |  1    |  1 2    |  1   3    |  1 2   4    |
|   |---------|-----|-------|---------|-----------|-------------|
| D | A027750 |     |       |  1      |  1 2      |  1   3      |
| I | A027750 |     |       |  1      |  1 2      |  1   3      |
| V |---------|-----|-------|---------|-----------|-------------|
| I | A027750 |     |       |         |  1        |  1 2        |
| S | A027750 |     |       |         |  1        |  1 2        |
| O | A027750 |     |       |         |  1        |  1 2        |
| R |---------|-----|-------|---------|-----------|-------------|
| S | A027750 |     |       |         |           |  1          |
|   | A027750 |     |       |         |           |  1          |
|   | A027750 |     |       |         |           |  1          |
|   | A027750 |     |       |         |           |  1          |
|   | A027750 |     |       |         |           |  1          |
|---|---------|-----|-------|---------|-----------|-------------|
.
|---|---------|-----|-------|---------|-----------|-------------|
|   | A027750 |  1  |  1 2  |  1   3  |  1 2   4  |  1       5  |
| C | A027750 |     |  1    |  1 2    |  1   3    |  1 2   4    |
| O |    -    |     |       |  2      |  2 4      |  2   6      |
| N |    -    |     |       |         |  3        |  3 6        |
| D |    -    |     |       |         |           |  5          |
|---|---------|-----|-------|---------|-----------|-------------|
.
The lower zone is a condensed version of the "divisors" zone.
		

Crossrefs

Programs

  • Mathematica
    A340056row[n_]:=Flatten[Table[Divisors[n-m]PartitionsP[m],{m,0,n-1}]];Array[A340056row,10] (* Paolo Xausa, Sep 01 2023 *)

A330370 Irregular triangle read by rows T(n,m) in which row n lists all partitions of n ordered by their k-th ranks, or by their k-th largest parts if all their k-th ranks are zeros, with k = 1..n.

Original entry on oeis.org

1, 2, 1, 1, 3, 2, 1, 1, 1, 1, 4, 3, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 5, 4, 1, 3, 2, 3, 1, 1, 2, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 6, 5, 1, 4, 2, 3, 3, 4, 1, 1, 3, 2, 1, 3, 1, 1, 1, 2, 2, 2, 2, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 6, 1, 5, 2, 4, 3, 5, 1, 1, 4, 2, 1, 3, 3, 1, 4, 1, 1, 1, 3, 2, 2, 3, 2, 1, 1, 3
Offset: 1

Views

Author

Omar E. Pol, Dec 12 2019

Keywords

Comments

Theorem: the k-th part of a partition in nonincreasing order of a positive integer equals the number of parts >= k of its conjugate partition.
Example: for n = 9 consider the partition [5, 3, 1]. The first part is 5, so the conjugate partition [3, 2, 2, 1, 1] has five parts >= 1. The second part is 3, so the conjugate partition has three parts >= 2. The third part is 1, so the conjugate partition has only one part >= 3. And vice versa, consider now the partition [3, 2, 2, 1, 1]. The first part is 3, so the conjugate partition [5, 3, 1] has three parts >= 1. The second part is 2, so the conjugate partition has two parts >= 2. The third part is 2, so the conjugate partition has two parts >= 3. The fourth part is 1, so the conjugate partition has only one part >= 4. The fifth part is 1, so the conjugate partition has only one part >= 5.
Corollary: the difference between the k-th part and the (k+1)-st part of a partition in nonincreasing order of a positive integer equals the number of k's in its conjugate partition.
Example: consider the partition [5, 3, 1]. The difference between the first and the second parts is 5 - 3 = 2, which equals the number of 1's in its conjugate partition [3, 2, 2, 1, 1]. The difference between the second and third parts is 3 - 1 = 2, which equals the number of 2's in its conjugate partition. The difference between the third part and the fourth (virtual) part is 1 - 0 = 1, which equals the number of 3's in its conjugate partition. And vice versa, consider the partition [3, 2, 2, 1, 1]. The difference between the first and second parts is 3 - 2 = 1, which equals the number of 1's in its conjugate partition [5, 3, 1]. The difference between the second and third parts is 2 - 2 = 0, which equals the number of 2's in its conjugate partition. The difference between the third and fourth parts is 2 - 1 = 1, which equals the number of 3's in its conjugate partition, and so on.
Self-conjugate partitions are included in all the above comments.
A proof without words is as shown below:
.
+------------------------+
| +--------------------+ |
| | +----------------+ | |
| | | | | |
v v v P2 FD k | | |
| | |
+--------> * * * 3 1 1 --+ | |
| +------> * * 2 0 2 | |
| +------> * * 2 1 3 ----+ |
| | +----> * 1 0 4 |
| | +----> * 1 1 5 ------+
| | |
| | | P1 5 3 1
| | |
| | | FD 2 2 1
| | |
| | | k 1 2 3
| | |
| | | | | |
| | +-------+ | |
| +-----------+ |
+---------------+
.
Every partition of n has n ranks.
The k-th rank of a partition is the k-th part minus the number of parts >= k.
In accordance with the above theorem, the k-th rank of a partition is also the number of parts >= k of its conjugate partition minus the number of parts >= k of the partition.
All ranks of a partition are zeros if and only if the partition is a self-conjugate partition.
The list of ranks of a partition of n equals the list of ranks multipled by -1 of its conjugate partition.
For example, the nine ranks of the partition [5, 3, 1] are [2, 1, -1, -1, -1, -1, 0, 0, 0], and the nine ranks of its conjugate partition [3, 2, 2, 1, 1] are [-2, -1, 1, 1, 1, 1, 0, 0, 0].
Note that the first rank coincides with the Dyson's rank because the first part of a partition is also the largest part, and the number of parts >= 1 is also the total number of parts.
In this triangle the partitions of n appears ordered by their first rank. The partitions that have the same first rank appears ordered by their second rank. The partitions that have the same first rank and the same second rank appears ordered by their third rank, and so on. The partitions that have all k-ranks equal zero appears ordered by their largest parts, then by their second largest parts, then by their third largest parts, and so on.
Note that a partition and its conjugate partition both are equidistants from the center of the list of partitions of n.
The first ranks of the partitions of this triangle give A330368.
For more information about the k-th ranks see A208478.
First differs from A080577 at a(48), and from A036037 at a(56), and from A181317 at a(105).

Examples

			Triangle begins:
  [1];
  [2], [1,1];
  [3], [2,1], [1,1,1];
  [4], [3,1], [2,2], [2,1,1], [1,1,1,1];
  [5], [4,1], [3,2], [3,1,1], [2,2,1], [2,1,1,1], [1,1,1,1,1];
  [6], [5,1], [4,2], [3,3], [4,1,1], [3,2,1], [3,1,1,1], [2,2,2], ...
  ...
Illustration of initial terms with a symmetric arrangement (note that the self-conjugate partitions are located in the main diagonal):
.
  1    1 1    1 1 1    1 1 1 1    1 1 1 1 1           1 1 1 1 1 1
  *    * *    * * *    * * * *    * * * * *           * * * * * *
  2
  *
  *
  3           2 1      2 1 1      2 1 1 1             2 1 1 1 1
  *           * *      * * *      * * * *             * * * * *
  *           *        *          *                   *
  *
  4           3 1      2 2        2 2 1               2 2 1 1
  *           * *      * *        * * *               * * * *
  *           *        * *        * *                 * *
  *           *
  *
  5           4 1      3 2        3 1 1               2 2 2
  *           * *      * *        * * *               * * *
  *           *        * *        *                   * * *
  *           *        *          *
  *           *                                       3 1 1 1
  *                                                   * * * *
                                                      *
                                                      *
.
  6           5 1      4 2        3 3      4 1 1      3 2 1
  *           * *      * *        * *      * * *      * * *
  *           *        * *        * *      *          * *
  *           *        *          * *      *          *
  *           *        *                   *
  *           *
  *
For n = 9 the 9th row of the triangle contains the partitions ordered as shown below:
---------------------------------------------------------------------------------
                                                                Ranks
          Conjugate
Label       with        Partitions                k = 1  2  3  4  5  6  7  8  9
---------------------------------------------------------------------------------
   1         30         [9]                           8 -1 -1 -1 -1 -1 -1 -1 -1
   2         29         [8, 1]                        6  0 -1 -1 -1 -1 -1 -1  0
   3         28         [7, 2]                        5  0 -1 -1 -1 -1 -1  0  0
   4         27         [6, 3]                        4  1 -2 -1 -1 -1  0  0  0
   5         26         [7, 1, 1]                     4  0  0 -1 -1 -1 -1  0  0
   6         25         [5, 4]                        3  2 -2 -2 -1  0  0  0  0
   7         24         [6, 2, 1]                     3  0  0 -1 -1 -1  0  0  0
   8         23         [5, 3, 1]                     2  1 -1 -1 -1  0  0  0  0
   9         22         [6, 1, 1, 1]                  2  0  0  0 -1 -1  0  0  0
  10         21         [5, 2, 2]                     2 -1  1 -1 -1  0  0  0  0
  11         20         [4, 4, 1]                     1  2 -1 -2  0  0  0  0  0
  12         19         [5, 2, 1, 1]                  1  0  0  0 -1  0  0  0  0
  13         18         [4, 3, 2]                     1  0  0 -1  0  0  0  0  0
  14         17         [4, 3, 1, 1]                  0  1 -1  0  0  0  0  0  0
  15  (self-conjugate)  [5, 1, 1, 1, 1]  All zeros -> 0  0  0  0  0  0  0  0  0
  16  (self-conjugate)  [3, 3, 3]        All zeros -> 0  0  0  0  0  0  0  0  0
  17         14         [4, 2, 2, 1]                  0 -1  1  0  0  0  0  0  0
  18         13         [3, 3, 2, 1]                 -1  0  0  1  0  0  0  0  0
  19         12         [4, 2, 1, 1, 1]              -1  0  0  0  1  0  0  0  0
  20         11         [3, 2, 2, 2]                 -1 -2  1  2  0  0  0  0  0
  21         10         [3, 3, 1, 1, 1]              -2  1 -1  1  1  0  0  0  0
  22          9         [4, 1, 1, 1, 1, 1]           -2  0  0  0  1  1  0  0  0
  23          8         [3, 2, 2, 1, 1]              -2 -1  1  1  1  0  0  0  0
  24          7         [3, 2, 1, 1, 1, 1]           -3  0  0  1  1  1  0  0  0
  25          6         [2, 2, 2, 2, 1]              -3 -2  2  2  1  0  0  0  0
  26          5         [3, 1, 1, 1, 1, 1, 1]        -4  0  0  1  1  1  1  0  0
  27          4         [2, 2, 2, 1, 1, 1]           -4 -1  2  1  1  1  0  0  0
  28          3         [2, 2, 1, 1, 1, 1, 1]        -5  0  1  1  1  1  1  0  0
  29          2         [2, 1, 1, 1, 1, 1, 1, 1]     -6  0  1  1  1  1  1  1  0
  30          1         [1, 1, 1, 1, 1, 1, 1, 1, 1]  -8  1  1  1  1  1  1  1  1
.
Two examples of the order of partitions:
1) The partitions [6, 3] and [7, 1, 1] both have their first rank equal to 4, so they are ordered by their sencond rank.
2) The self-conjugate partitions [5, 1, 1, 1, 1] and [3, 3, 3] both have all their ranks equal to zero, so they are ordered by their first part.
		

Crossrefs

Row n contains A000041(n) partitions.
Row n has length A006128(n).
The sum of n-th row is A066186(n).
For "k-th rank" of a partition see also: A181187, A208478, A208479, A208482, A208483.

A206562 Triangle read by rows: T(n,k) = sum of all parts >= k in the last section of the set of partitions of n.

Original entry on oeis.org

1, 3, 2, 5, 3, 3, 11, 8, 4, 4, 15, 10, 8, 5, 5, 31, 24, 16, 10, 6, 6, 39, 28, 22, 16, 12, 7, 7, 71, 56, 40, 31, 19, 14, 8, 8, 94, 72, 58, 40, 32, 22, 16, 9, 9, 150, 120, 90, 72, 52, 37, 25, 18, 10, 10, 196, 154, 124, 94, 74, 54, 42, 28, 20, 11, 11
Offset: 1

Views

Author

Omar E. Pol, Feb 15 2012

Keywords

Examples

			Triangle begins:
1;
3,   2;
5,   3,  3;
11,  8,  4,  4;
15, 10,  8,  5,  5;
31, 24, 16, 10,  6,  6;
39, 28, 22, 16, 12,  7,  7;
71, 56, 40, 31, 19, 14,  8,  8;
94, 72, 58, 40, 32, 22, 16,  9,  9;
		

Crossrefs

Columns 1-2 give A138879, A138880. Diagonal is A000027.

A207379 Triangle read by rows: T(n,k) = number of parts that are in the k-th column of the last section of the set of partitions of n.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 2, 2, 2, 1, 1, 4, 4, 3, 2, 1, 1, 4, 4, 4, 3, 2, 1, 1, 7, 7, 6, 5, 3, 2, 1, 1, 8, 8, 8, 6, 5, 3, 2, 1, 1, 12, 12, 11, 10, 7, 5, 3, 2, 1, 1, 14, 14, 14, 12, 10, 7, 5, 3, 2, 1, 1, 21, 21, 20, 18, 14, 11, 7, 5, 3, 2, 1, 1
Offset: 1

Views

Author

Omar E. Pol, Mar 10 2012

Keywords

Comments

Note that for n >= 2 the tail of the last section of n starts at the second column and the second column contains only one part of size 1, thus both the first and the second columns contain the same number of parts. For more information see A135010 and A182703.

Examples

			Illustration of initial terms. First six rows of triangle as numbers of parts in the columns from the last sections of the first six natural numbers:
.                                       6
.                                       3 3
.                                       4 2
.                                       2 2 2
.                           5             1
.                           3 2             1
.                 4           1             1
.                 2 2           1             1
.         3         1           1             1
.   2       1         1           1             1
1     1       1         1           1             1
---------------------------------------------------
1,  1,1,  1,1,1,  2,2,1,1,  2,2,2,1,1,  4,4,3,2,1,1
...
Triangle begins:
1;
1,   1;
1,   1,  1;
2,   2,  1,  1;
2,   2,  2,  1,  1;
4,   4,  3,  2,  1,  1;
4,   4,  4,  3,  2,  1,  1;
7,   7,  6,  5,  3,  2,  1,  1;
8,   8,  8,  6,  5,  3,  2,  1,  1;
12, 12, 11, 10,  7,  5,  3,  2,  1,  1;
14, 14, 14, 12, 10,  7,  5,  3,  2,  1,  1;
21, 21, 20, 18, 14, 11,  7,  5,  3,  2,  1,  1;
		

Crossrefs

Column 1 is A187219. Row sums give A138137. Reversed rows converge to A000041.

A212010 Triangle read by rows: T(n,k) = total number of parts in the last k shells of n.

Original entry on oeis.org

1, 2, 3, 3, 5, 6, 6, 9, 11, 12, 8, 14, 17, 19, 20, 15, 23, 29, 32, 34, 35, 19, 34, 42, 48, 51, 53, 54, 32, 51, 66, 74, 80, 83, 85, 86, 42, 74, 93, 108, 116, 122, 125, 127, 128, 64, 106, 138, 157, 172, 180, 186, 189, 191, 192, 83, 147, 189, 221, 240
Offset: 1

Views

Author

Omar E. Pol, Apr 26 2012

Keywords

Comments

The set of partitions of n contains n shells (see A135010). Let m and n be two positive integers such that m <= n. It appears that in any set formed by m connected shells, or m disconnected shells, or a mixture of both, the sum of all parts of the j-th column equals the total number of parts >= j in the same set (see example). More generally it appears that any of these sets has the same properties mentioned in A206563 and A207031.
It appears that the last k shells of n contain p(n-k) parts of size k, where p(n) = A000041(n). See also A182703.

Examples

			For n = 5 the illustration shows five sets containing the last k shells of 5 and below we can see that the sum of all parts of the first column equals the total number of parts in each set:
--------------------------------------------------------
.  S{5}       S{4-5}     S{3-5}     S{2-5}     S{1-5}
--------------------------------------------------------
.  The        Last       Last       Last       The
.  last       two        three      four       five
.  shell      shells     shells     shells     shells
.  of 5       of 5       of 5       of 5       of 5
--------------------------------------------------------
.
.  5          5          5          5          5
.  3+2        3+2        3+2        3+2        3+2
.    1        4+1        4+1        4+1        4+1
.      1      2+2+1      2+2+1      2+2+1      2+2+1
.      1        1+1      3+1+1      3+1+1      3+1+1
.        1        1+1      1+1+1    2+1+1+1    2+1+1+1
.          1        1+1      1+1+1    1+1+1+1  1+1+1+1+1
. ---------- ---------- ---------- ---------- ----------
.  8         14         17         19         20
.
So row 5 lists 8, 14, 17, 19, 20.
.
Triangle begins:
1;
2,    3;
3,    5,   6;
6,    9,  11,  12;
8,   14,  17,  19,  20;
15,  23,  29,  32,  34,  35;
19,  34,  42,  48,  51,  53,  54;
32,  51,  66,  74,  80,  83,  85,  86;
42,  74,  93, 108, 116, 122, 125, 127, 128;
64, 106, 138, 157, 172, 180, 186, 189, 191, 192;
		

Crossrefs

Mirror of triangle A212000. Column 1 is A138137. Right border is A006128.

Formula

T(n,k) = A006128(n) - A006128(n-k).
T(n,k) = Sum_{j=n-k+1..n} A138137(j).
Previous Showing 11-20 of 32 results. Next