A066186
Sum of all parts of all partitions of n.
Original entry on oeis.org
0, 1, 4, 9, 20, 35, 66, 105, 176, 270, 420, 616, 924, 1313, 1890, 2640, 3696, 5049, 6930, 9310, 12540, 16632, 22044, 28865, 37800, 48950, 63336, 81270, 104104, 132385, 168120, 212102, 267168, 334719, 418540, 520905, 647172, 800569, 988570, 1216215, 1493520
Offset: 0
a(3)=9 because the partitions of 3 are: 3, 2+1 and 1+1+1; and (3) + (2+1) + (1+1+1) = 9.
a(4)=20 because A000041(4)=5 and 4*5=20.
- Vincenzo Librandi, Table of n, a(n) for n = 0..1000
- F. G. Garvan, Higher-order spt functions, Adv. Math. 228 (2011), no. 1, 241-265, alternate copy. - From _N. J. A. Sloane_, Jan 02 2013
- F. G. Garvan, Higher-order spt functions, arXiv:1008.1207 [math.NT], 2010.
- T. J. Osler, A. Hassen and T. R. Chandrupatia, Surprising connections between partitions and divisors, The College Mathematics Journal, Vol. 38. No. 4, Sep. 2007, 278-287 (see p. 287).
- Omar E. Pol, Illustration of a(10), prism and tower, each polycube contains 420 cubes.
- Omar E. Pol, Illustration of initial terms of A066186 and of A139582 (n>=1)
Row sums of triangles
A138785,
A181187,
A245099,
A337209,
A339106,
A340423,
A340424,
A221529,
A302246,
A338156,
A340035,
A340056,
A340057,
A346741. -
Omar E. Pol, Aug 02 2021
-
a066186 = sum . concat . ps 1 where
ps _ 0 = [[]]
ps i j = [t:ts | t <- [i..j], ts <- ps t (j - t)]
-- Reinhard Zumkeller, Jul 13 2013
-
with(combinat): a:= n-> n*numbpart(n): seq(a(n), n=0..50); # Zerinvary Lajos, Apr 25 2007
-
PartitionsP[ Range[0, 60] ] * Range[0, 60]
-
a(n)=numbpart(n)*n \\ Charles R Greathouse IV, Mar 10 2012
-
from sympy import npartitions
def A066186(n): return n*npartitions(n) # Chai Wah Wu, Oct 22 2023
-
[n*Partitions(n).cardinality() for n in range(41)] # Peter Luschny, Jul 29 2014
A336811
Irregular triangle read by rows T(n,k) in which the length of row n equals the partition number A000041(n-1) and every column k gives the positive integers A000027, with n >= 1 and k >= 1.
Original entry on oeis.org
1, 2, 3, 1, 4, 2, 1, 5, 3, 2, 1, 1, 6, 4, 3, 2, 2, 1, 1, 7, 5, 4, 3, 3, 2, 2, 1, 1, 1, 1, 8, 6, 5, 4, 4, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 9, 7, 6, 5, 5, 4, 4, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 10, 8, 7, 6, 6, 5, 5, 4, 4, 4, 4, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1
Offset: 1
Triangle begins:
1;
2;
3, 1;
4, 2, 1;
5, 3, 2, 1, 1;
6, 4, 3, 2, 2, 1, 1;
7, 5, 4, 3, 3, 2, 2, 1, 1, 1, 1;
8, 6, 5, 4, 4, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1;
9, 7, 6, 5, 5, 4, 4, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1;
...
For n = 6, by definition the length of row 6 is A000041(6-1) = A000041(5) = 7, so the row 6 of triangle has seven terms. Since every column lists the positive integers A000027 so the row 6 is [6, 4, 3, 2, 2, 1, 1].
Then we have that the divisors of the numbers of the 6th row are:
.
6th row of the triangle ----------> 6 4 3 2 2 1 1
3 2 1 1 1
2 1
1
.
There are seven 1's, four 2's, two 3's, one 4 and one 6.
In total there are 7 + 4 + 2 + 1 + 1 = 15 divisors.
On the other hand the last section of the set of the partitions of 6 can be represented in several ways, five of them as shown below:
._ _ _ _ _ _
|_ _ _ | 6 6 6 6
|_ _ _|_ | 3 3 3 3 3 3 3 3
|_ _ | | 4 2 4 2 4 2 4 2
|_ _|_ _|_ | 2 2 2 2 2 2 2 2 2 2 2 2
| | 1 1 1 1
| | 1 1 1 1
| | 1 1 1 1
| | 1 1 1 1
| | 1 1 1 1
| | 1 1 1 1
|_| 1 1 1 1
.
Figure 1. Figure 2. Figure 3. Figure 4. Figure 5.
.
In every figure there are seven 1's, four 2's, two 3's, one 4 and one 6, as shown also the 6th row of A182703.
In total there are 7 + 4 + 2 + 1 + 1 = A138137(6) = 15 parts in every figure.
Figure 5 is an arrangement that shows the correspondence between divisors and parts since the columns give the divisors of the terms of 6th row of triangle.
Finally we can see that all divisors of all numbers in the 6th row of the triangle are the same positive integers as all parts in the last section of the set of the partitions of 6.
Example edited by _Omar E. Pol_, Aug 10 2021
Cf.
A000007,
A000041,
A027750,
A028310,
A002865,
A133735,
A135010,
A138121,
A138137,
A182703,
A187219,
A207378,
A221529,
A336812,
A339278,
A340035,
A340061,
A346741.
-
A336811[row_]:=Flatten[Table[ConstantArray[row-m,PartitionsP[m]-PartitionsP[m-1]],{m,0,row-1}]];
Array[A336811,10] (* Generates 10 rows *) (* Paolo Xausa, Feb 10 2023 *)
-
f(n) = numbpart(n-1);
T(n, k) = {if (k > f(n), error("invalid k")); if (k==1, return (n)); my(s=0); while (k <= f(n-1), s++; n--;); 1+s;}
tabf(nn) = {for (n=1, nn, for (k=1, f(n), print1(T(n,k), ", ");); print;);} \\ Michel Marcus, Jan 13 2021
A221529
Triangle read by rows: T(n,k) = A000203(k)*A000041(n-k), 1 <= k <= n.
Original entry on oeis.org
1, 1, 3, 2, 3, 4, 3, 6, 4, 7, 5, 9, 8, 7, 6, 7, 15, 12, 14, 6, 12, 11, 21, 20, 21, 12, 12, 8, 15, 33, 28, 35, 18, 24, 8, 15, 22, 45, 44, 49, 30, 36, 16, 15, 13, 30, 66, 60, 77, 42, 60, 24, 30, 13, 18, 42, 90, 88, 105, 66, 84, 40, 45, 26, 18, 12, 56, 126, 120, 154, 90, 132, 56, 75, 39, 36, 12, 28
Offset: 1
Triangle begins:
------------------------------------------------------
n| k 1 2 3 4 5 6 7 8 9 10
------------------------------------------------------
1| 1;
2| 1, 3;
3| 2, 3, 4;
4| 3, 6, 4, 7;
5| 5, 9, 8, 7, 6;
6| 7, 15, 12, 14, 6, 12;
7| 11, 21, 20, 21, 12, 12, 8;
8| 15, 33, 28, 35, 18, 24, 8, 15;
9| 22, 45, 44, 49, 30, 36, 16, 15, 13;
10| 30, 66, 60, 77, 42, 60, 24, 30, 13, 18;
...
The sum of row 10 is [30 + 66 + 60 + 77 + 42 + 60 + 24 + 30 + 13 + 18] = A066186(10) = 420.
.
For n = 10 the calculation of the row 10 is as follows:
k A000203 T(10,k)
1 1 * 30 = 30
2 3 * 22 = 66
3 4 * 15 = 60
4 7 * 11 = 77
5 6 * 7 = 42
6 12 * 5 = 60
7 8 * 3 = 24
8 15 * 2 = 30
9 13 * 1 = 13
10 18 * 1 = 18
A000041
.
From _Omar E. Pol_, Jul 13 2021: (Start)
For n = 10 we can see below three views of two associated polycubes called here "prism of partitions" and "tower". Both objects contain the same number of cubes (that property is valid for n >= 1).
_ _ _ _ _ _ _ _ _ _
42 |_ _ _ _ _ |
|_ _ _ _ _|_ |
|_ _ _ _ _ _|_ |
|_ _ _ _ | |
|_ _ _ _|_ _ _|_ |
|_ _ _ _ | |
|_ _ _ _|_ | |
|_ _ _ _ _|_ | |
|_ _ _ | | |
|_ _ _|_ | | |
|_ _ | | | |
|_ _|_ _|_ _|_ _|_ | _
30 |_ _ _ _ _ | | | | 30
|_ _ _ _ _|_ | | | |
|_ _ _ | | | | |
|_ _ _|_ _ _|_ | | | |
|_ _ _ _ | | | | |
|_ _ _ _|_ | | | | |
|_ _ _ | | | | | |
|_ _ _|_ _|_ _|_ | | _|_|
22 |_ _ _ _ | | | | | 22
|_ _ _ _|_ | | | | |
|_ _ _ _ _|_ | | | | |
|_ _ _ | | | | | |
|_ _ _|_ | | | | | |
|_ _ | | | | | | |
|_ _|_ _|_ _|_ | | | _|_ _|
15 |_ _ _ _ | | | | | | | 15
|_ _ _ _|_ | | | | | | |
|_ _ _ | | | | | | | |
|_ _ _|_ _|_ | | | | _|_|_ _|
11 |_ _ _ | | | | | | | | 11
|_ _ _|_ | | | | | | | |
|_ _ | | | | | | | | |
|_ _|_ _|_ | | | | | _| |_ _ _|
7 |_ _ _ | | | | | | | | | 7
|_ _ _|_ | | | | | | _|_ _|_ _ _|
5 |_ _ | | | | | | | | | | | 5
|_ _|_ | | | | | | | _| | |_ _ _ _|
3 |_ _ | | | | | | | | _|_ _|_|_ _ _ _| 3
2 |_ | | | | | | | | | _ _|_ _|_|_ _ _ _ _| 2
1 |_|_|_|_|_|_|_|_|_|_| |_ _|_|_|_ _ _ _ _ _| 1
.
Figure 1. Figure 2.
Front view of the Lateral view
prism of partitions. of the tower.
.
. _ _ _ _ _ _ _ _ _ _
| | | | | | | | |_| 1
| | | | | | |_|_ _| 2
| | | | |_|_ |_ _| 3
| | |_|_ |_ _ _| 4
| |_ _ |_ |_ _ _| 5
|_ _ |_ |_ _ _ _| 6
|_ | |_ _ _ _| 7
|_ |_ _ _ _ _| 8
| | 9
|_ _ _ _ _ _| 10
.
Figure 3.
Top view
of the tower.
.
Figure 1 is a two-dimensional diagram of the partitions of 10 in colexicographic order (cf. A026792, A211992). The area of the diagram is 10*42 = A066186(10) = 420. Note that the diagram can be interpreted also as the front view of a right prism whose volume is 1*10*42 = 420 equaling the volume and the number of cubes of the tower that appears in the figures 2 and 3.
Note that the shape and the area of the lateral view of the tower are the same as the shape and the area where the 1's are located in the diagram of partitions. In this case the mentioned area equals A000070(10-1) = 97.
The connection between these two associated objects is a representation of the correspondence divisor/part described in A338156. See also A336812.
The sum of the volumes of both objects equals A220909.
For the connection with the table of A338156 see also A340035. (End)
- Paolo Xausa, Table of n, a(n) for n = 1..11325 (rows 1..150 of triangle, flattened)
- T. J. Osler, A. Hassen and T. R. Chandrupatia, Surprising connections between partitions and divisors, The College Mathematics Journal, Vol. 38. No. 4, Sep. 2007, 278-287 (see p. 287).
- Omar E. Pol, Illustration of the prism, the tower and the 10th row of the triangle
Cf.
A000070,
A000203,
A026792,
A027293,
A135010,
A138137,
A176206,
A182703,
A220909,
A211992,
A221649,
A236104,
A237270,
A237271,
A237593,
A245092,
A245093,
A245095,
A245099,
A262626,
A336811,
A336812,
A338156,
A339278,
A340035,
A340583,
A340584,
A345023,
A346741.
-
nrows=12; Table[Table[DivisorSigma[1,k]PartitionsP[n-k],{k,n}],{n,nrows}] // Flatten (* Paolo Xausa, Jun 17 2022 *)
-
T(n,k)=sigma(k)*numbpart(n-k) \\ Charles R Greathouse IV, Feb 19 2013
A338156
Irregular triangle read by rows in which row n lists n blocks, where the m-th block consists of A000041(m-1) copies of the divisors of (n - m + 1), with 1 <= m <= n.
Original entry on oeis.org
1, 1, 2, 1, 1, 3, 1, 2, 1, 1, 1, 2, 4, 1, 3, 1, 2, 1, 2, 1, 1, 1, 1, 5, 1, 2, 4, 1, 3, 1, 3, 1, 2, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 2, 3, 6, 1, 5, 1, 2, 4, 1, 2, 4, 1, 3, 1, 3, 1, 3, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 7, 1, 2, 3, 6, 1, 5, 1, 5, 1, 2, 4, 1, 2, 4, 1, 2, 4
Offset: 1
Triangle begins:
[1];
[1,2], [1];
[1,3], [1,2], [1], [1];
[1,2,4], [1,3], [1,2], [1,2], [1], [1], [1];
[1,5], [1,2,4], [1,3], [1,3], [1,2], [1,2], [1,2], [1], [1], [1], [1], [1];
...
For n = 5 the 5th row of A176206 is [5, 4, 3, 3, 2, 2, 2, 1, 1, 1, 1, 1] so replacing every term with its divisors we have the 5th row of this triangle.
Also, if the sequence is written as an irregular tetrahedron so the first six slices are:
[1],
-------
[1, 2],
[1],
-------
[1, 3],
[1, 2],
[1],
[1];
----------
[1, 2, 4],
[1, 3],
[1, 2],
[1, 2],
[1],
[1],
[1];
----------
[1, 5],
[1, 2, 4],
[1, 3],
[1, 3],
[1, 2],
[1, 2],
[1, 2],
[1],
[1],
[1],
[1],
[1];
.
The above slices appear in the lower zone of the following table which shows the correspondence between the mentioned divisors and all parts of all partitions of the positive integers.
The table is infinite. It is formed by three zones as follows:
The upper zone shows the partitions of every positive integer in colexicographic order (cf. A026792, A211992).
The lower zone shows the same numbers but arranged as divisors in accordance with the slices of the tetrahedron mentioned above.
Finally the middle zone shows the connection between the upper zone and the lower zone.
For every positive integer the numbers in the upper zone are the same numbers as in the lower zone.
.
|---|---------|-----|-------|---------|------------|---------------|
| 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 | A066633 | 1 | 2 1 | 4 1 1 | 7 3 1 1 | 12 4 2 1 1 |
| I | | * | * * | * * * | * * * * | * * * * * |
| N | A002260 | 1 | 1 2 | 1 2 3 | 1 2 3 4 | 1 2 3 4 5 |
| K | | = | = = | = = = | = = = = | = = = = = |
| | A138785 | 1 | 2 2 | 4 2 3 | 7 6 3 4 | 12 8 6 4 5 |
| | | | | |\| | |\|\| | |\ |\|\| | |\ |\ |\|\| |
| | A206561 | 1 | 4 2 | 9 5 3 | 20 13 7 4 | 35 23 15 9 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 |
|---|---------|-----|-------|---------|------------|---------------|
.
Note that every row in the lower zone lists A027750.
Also the lower zone for every positive integer can be constructed using the first n terms of the partition numbers. For example: for n = 5 we consider the first 5 terms of A000041 (that is [1, 1, 2, 3, 5]) then the 5th slice is formed by a block with the divisors of 5, one block with the divisors of 4, two blocks with the divisors of 3, three blocks with the divisors of 2, and five blocks with the divisors of 1.
Note that the lower zone is also in accordance with the tower (a polycube) described in A221529 in which its terraces are the symmetric representation of sigma starting from the top (cf. A237593) and the heights of the mentioned terraces are the partition numbers A000041 starting from the base.
The tower has the same volume (also the same number of cubes) equal to A066186(n) as a prism of partitions of size 1*n*A000041(n).
The above table shows the correspondence between the prism of partitions and its associated tower since the number of parts in all partitions of n is equal to A006128(n) equaling the number of divisors in the n-th slice of the lower table and equaling the same the number of terms in the n-th row of triangle. Also the sum of all parts of all partitions of n is equal to A066186(n) equaling the sum of all divisors in the n-th slice of the lower table and equaling the sum of the n-th row of triangle.
The product of row n is
A007870(n).
Row n lists the first n rows of
A336812 (a subsequence).
The number of parts k in row n is
A066633(n,k).
The sum of all parts k in row n is
A138785(n,k).
The number of parts >= k in row n is
A181187(n,k).
The sum of all parts >= k in row n is
A206561(n,k).
The number of parts <= k in row n is
A210947(n,k).
The sum of all parts <= k in row n is
A210948(n,k).
Cf.
A000070,
A000041,
A002260,
A026792,
A027750,
A058399,
A127093,
A135010,
A138121,
A176206,
A182703,
A206437,
A207031,
A207383,
A211992,
A221529,
A221530,
A221531,
A245095,
A221649,
A221650,
A237593,
A302246,
A302247,
A336811,
A337209,
A339106,
A339258,
A339278,
A339304,
A340035,
A340061,
A346741.
-
A338156[rowmax_]:=Table[Flatten[Table[ConstantArray[Divisors[n-m],PartitionsP[m]],{m,0,n-1}]],{n,rowmax}];
A338156[10] (* Generates 10 rows *) (* Paolo Xausa, Jan 12 2023 *)
-
A338156(rowmax)=vector(rowmax,n,concat(vector(n,m,concat(vector(numbpart(m-1),i,divisors(n-m+1))))));
A338156(10) \\ Generates 10 rows - Paolo Xausa, Feb 17 2023
Showing 1-4 of 4 results.
Comments