Displaying 1-8 of 8 results found.
page
1
Table read by rows: number of partitions of n with k as low median.
+10
26
1, 1, 1, 2, 0, 1, 3, 1, 0, 1, 4, 2, 0, 0, 1, 6, 3, 1, 0, 0, 1, 8, 4, 2, 0, 0, 0, 1, 11, 6, 3, 1, 0, 0, 0, 1, 15, 8, 4, 2, 0, 0, 0, 0, 1, 20, 12, 5, 3, 1, 0, 0, 0, 0, 1, 26, 16, 7, 4, 2, 0, 0, 0, 0, 0, 1, 35, 22, 10, 5, 3, 1, 0, 0, 0, 0, 0, 1, 45, 29, 14, 6, 4, 2, 0, 0, 0, 0, 0, 0, 1, 58, 40, 19, 8, 5, 3, 1
COMMENTS
For a multiset with an odd number of elements, the low median is the same as the median. For a multiset with an even number of elements, the low median is the smaller of the two central elements.
Arrange the parts of a partition nonincreasing order. Remove the first part, then the last, then the first remaining part, then the last remaining part, and continue until only a single number, the low median, remains. - Clark Kimberling, May 16 2019
EXAMPLE
For the partition [2,1^2], the sole middle element is 1, so that is the low median. For [3,2,1^2], the two middle elements are 1 and 2; the low median is the smaller, 1.
First 8 rows:
1
1 1
2 0 1
3 1 0 1
4 2 0 0 1
6 3 1 0 0 1
8 4 2 0 0 0 1
11 6 3 1 0 0 0 1
Row n = 8 counts the following partitions:
(71) (62) (53) (44) . . . (8)
(611) (521) (431)
(5111) (422) (332)
(4211) (3221)
(41111) (2222)
(3311) (22211)
(32111)
(311111)
(221111)
(2111111)
(11111111)
(End)
MATHEMATICA
Map[BinCounts[#, {1, #[[1]] + 1, 1}] &[Map[#[[Floor[(Length[#] + 2)/2]]] &, IntegerPartitions[#]]] &, Range[13]] (* Peter J. C. Moses, May 14 2019 *)
CROSSREFS
The high version of this triangle is A124944.
The rank statistic for this triangle is A363941, high version A363942.
A version for mean instead of median is A363945, rank statistic A363943.
A high version for mean instead of median is A363946, rank stat A363944.
A008284 counts partitions by length (or decreasing mean), strict A008289.
A360005(n)/2 returns median of prime indices.
Table, number of partitions of n with k as high median.
+10
23
1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 3, 1, 1, 1, 1, 4, 3, 1, 1, 1, 1, 6, 4, 1, 1, 1, 1, 1, 8, 6, 3, 1, 1, 1, 1, 1, 11, 8, 5, 1, 1, 1, 1, 1, 1, 15, 11, 7, 3, 1, 1, 1, 1, 1, 1, 20, 15, 9, 5, 1, 1, 1, 1, 1, 1, 1, 26, 21, 12, 8, 3, 1, 1, 1, 1, 1, 1, 1, 35, 27, 16, 10, 5, 1, 1, 1, 1, 1, 1, 1, 1, 45, 37, 21, 13, 8, 3
COMMENTS
For a multiset with an odd number of elements, the high median is the same as the median. For a multiset with an even number of elements, the high median is the larger of the two central elements.
This table may be read as an upper right triangle with n >= 1 as column index and k >= 1 as row index. - Peter Munn, Jul 16 2017
Arrange the parts of a partition nonincreasing order. Remove the last part, then the first, then the last remaining part, then the first remaining part, and continue until only a single number, the high median, remains. - Clark Kimberling, May 14 2019
EXAMPLE
For the partition [2,1^2], the sole middle element is 1, so that is the high median. For [3,2,1^2], the two middle elements are 1 and 2; the high median is the larger, 2.
Triangle begins:
1
1 1
1 1 1
2 1 1 1
3 1 1 1 1
4 3 1 1 1 1
6 4 1 1 1 1 1
8 6 3 1 1 1 1 1
11 8 5 1 1 1 1 1 1
15 11 7 3 1 1 1 1 1 1
20 15 9 5 1 1 1 1 1 1 1
26 21 12 8 3 1 1 1 1 1 1 1
35 27 16 10 5 1 1 1 1 1 1 1 1
45 37 21 13 8 3 1 1 1 1 1 1 1 1
58 48 29 16 11 5 1 1 1 1 1 1 1 1 1
Row n = 8 counts the following partitions:
(611) (521) (431) (44) (53) (62) (71) (8)
(5111) (422) (332)
(41111) (4211) (3311)
(32111) (3221)
(311111) (2222)
(221111) (22211)
(2111111)
(11111111)
(End)
MATHEMATICA
Map[BinCounts[#, {1, #[[1]] + 1, 1}] &[Map[#[[Floor[(Length[#] + 1)/2]]] &, IntegerPartitions[#]]] &, Range[13]] (* Peter J. C. Moses, May 14 2019 *)
CROSSREFS
The low version of this triangle is A124943.
A008284 counts partitions by length, maximum, or decreasing mean.
A360005(n)/2 returns median of prime indices.
Triangle read by rows where T(n,k) is the number of integer partitions of n with high mean k.
+10
17
1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 3, 0, 1, 0, 1, 3, 2, 0, 1, 0, 1, 6, 3, 0, 0, 1, 0, 1, 6, 4, 3, 0, 0, 1, 0, 1, 11, 5, 4, 0, 0, 0, 1, 0, 1, 11, 13, 0, 4, 0, 0, 0, 1, 0, 1, 18, 9, 8, 5, 0, 0, 0, 0, 1, 0, 1, 18, 21, 10, 0, 5, 0, 0, 0, 0, 1
COMMENTS
Extending the terminology of A124944, the "high mean" of a multiset is obtained by taking the mean and rounding up.
EXAMPLE
Triangle begins:
1
0 1
0 1 1
0 1 1 1
0 1 3 0 1
0 1 3 2 0 1
0 1 6 3 0 0 1
0 1 6 4 3 0 0 1
0 1 11 5 4 0 0 0 1
0 1 11 13 0 4 0 0 0 1
0 1 18 9 8 5 0 0 0 0 1
0 1 18 21 10 0 5 0 0 0 0 1
0 1 29 28 12 0 6 0 0 0 0 0 1
0 1 29 32 18 14 0 6 0 0 0 0 0 1
0 1 44 43 23 16 0 7 0 0 0 0 0 0 1
0 1 44 77 27 19 0 0 7 0 0 0 0 0 0 1
Row n = 7 counts the following partitions:
. (1111111) (4111) (511) (61) . . (7)
(3211) (421) (52)
(31111) (331) (43)
(2221) (322)
(22111)
(211111)
MATHEMATICA
meanup[y_]:=If[Length[y]==0, 0, Ceiling[Mean[y]]];
Table[Length[Select[IntegerPartitions[n], meanup[#]==k&]], {n, 0, 15}, {k, 0, n}]
CROSSREFS
For median instead of mean we have rank statistic A363942, low A363941.
The rank statistic for this triangle is A363944.
Cf. A002865, A025065, A237984, A327472, A327482, A344296, A362612, A363723, A363724, A363731, A363948.
Triangle read by rows where T(n,k) is the number of integer partitions of n with low mean k.
+10
16
1, 0, 1, 0, 1, 1, 0, 2, 0, 1, 0, 2, 2, 0, 1, 0, 4, 2, 0, 0, 1, 0, 4, 3, 3, 0, 0, 1, 0, 7, 4, 3, 0, 0, 0, 1, 0, 7, 10, 0, 4, 0, 0, 0, 1, 0, 12, 6, 7, 4, 0, 0, 0, 0, 1, 0, 12, 16, 8, 0, 5, 0, 0, 0, 0, 1, 0, 19, 21, 10, 0, 5, 0, 0, 0, 0
COMMENTS
Extending the terminology of A124943, the "low mean" of a multiset is its mean rounded down.
EXAMPLE
Triangle begins:
1
0 1
0 1 1
0 2 0 1
0 2 2 0 1
0 4 2 0 0 1
0 4 3 3 0 0 1
0 7 4 3 0 0 0 1
0 7 10 0 4 0 0 0 1
0 12 6 7 4 0 0 0 0 1
0 12 16 8 0 5 0 0 0 0 1
0 19 21 10 0 5 0 0 0 0 0 1
0 19 24 15 12 0 6 0 0 0 0 0 1
0 30 32 18 14 0 6 0 0 0 0 0 0 1
0 30 58 23 16 0 0 7 0 0 0 0 0 0 1
0 45 47 57 0 19 0 7 0 0 0 0 0 0 0 1
Row k = 8 counts the following partitions:
. (41111) (611) . (71) . . . (8)
(32111) (521) (62)
(311111) (5111) (53)
(22211) (431) (44)
(221111) (422)
(2111111) (4211)
(11111111) (332)
(3311)
(3221)
(2222)
MATHEMATICA
meandown[y_]:=If[Length[y]==0, 0, Floor[Mean[y]]];
Table[Length[Select[IntegerPartitions[n], meandown[#]==k&]], {n, 0, 15}, {k, 0, n}]
CROSSREFS
For median instead of mean we have rank statistic A363941, high A363942.
The rank statistic for this triangle is A363943.
For high mode instead of mean we have A363953, rank statistic A363487.
Cf. A002865, A026905, A237984, A327472, A327482, A344296, A362612, A363723, A363724, A363731, A363951.
Number of integer partitions of n with low mode k.
+10
9
1, 0, 1, 0, 1, 1, 0, 2, 0, 1, 0, 3, 1, 0, 1, 0, 4, 2, 0, 0, 1, 0, 7, 2, 1, 0, 0, 1, 0, 9, 3, 2, 0, 0, 0, 1, 0, 13, 5, 2, 1, 0, 0, 0, 1, 0, 18, 6, 3, 2, 0, 0, 0, 0, 1, 0, 26, 9, 3, 2, 1, 0, 0, 0, 0, 1, 0, 32, 13, 5, 3, 2, 0, 0, 0, 0, 0, 1, 0, 47, 16, 7, 3, 2, 1, 0, 0, 0, 0, 0, 1
COMMENTS
A mode in a multiset is an element that appears at least as many times as each of the others. For example, the modes in {a,a,b,b,b,c,d,d,d} are {b,d}.
Extending the terminology of A124943, the "low mode" of a multiset is the least mode.
EXAMPLE
Triangle begins:
1
0 1
0 1 1
0 2 0 1
0 3 1 0 1
0 4 2 0 0 1
0 7 2 1 0 0 1
0 9 3 2 0 0 0 1
0 13 5 2 1 0 0 0 1
0 18 6 3 2 0 0 0 0 1
0 26 9 3 2 1 0 0 0 0 1
0 32 13 5 3 2 0 0 0 0 0 1
0 47 16 7 3 2 1 0 0 0 0 0 1
0 60 21 10 4 3 2 0 0 0 0 0 0 1
0 79 30 13 6 3 2 1 0 0 0 0 0 0 1
0 104 38 17 7 4 3 2 0 0 0 0 0 0 0 1
Row n = 8 counts the following partitions:
. (71) (62) (53) (44) . . . (8)
(611) (422) (332)
(521) (3221)
(5111) (2222)
(431) (22211)
(4211)
(41111)
(3311)
(32111)
(311111)
(221111)
(2111111)
(11111111)
MATHEMATICA
modes[ms_]:=Select[Union[ms], Count[ms, #]>=Max@@Length/@Split[ms]&];
Table[Length[Select[IntegerPartitions[n], If[Length[#]==0, 0, First[modes[#]]]==k&]], {n, 0, 15}, {k, 0, n}]
CROSSREFS
The rank statistic for this triangle is A363486.
A362615 counts partitions by number of co-modes, rank statistic A362613.
High (i.e., greatest) co-mode in the multiset of prime indices of n.
+10
5
0, 1, 2, 1, 3, 2, 4, 1, 2, 3, 5, 2, 6, 4, 3, 1, 7, 1, 8, 3, 4, 5, 9, 2, 3, 6, 2, 4, 10, 3, 11, 1, 5, 7, 4, 2, 12, 8, 6, 3, 13, 4, 14, 5, 3, 9, 15, 2, 4, 1, 7, 6, 16, 1, 5, 4, 8, 10, 17, 3, 18, 11, 4, 1, 6, 5, 19, 7, 9, 4, 20, 2, 21, 12, 2, 8, 5, 6, 22, 3, 2
COMMENTS
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 define a co-mode in a multiset to be an element that appears at most as many times as each of the others. For example, the co-modes in {a,a,b,b,b,c,c} are {a,c}.
Extending the terminology of A124943, the "high co-mode" in a multiset is the greatest co-mode.
EXAMPLE
The prime indices of 2100 are {1,1,2,3,3,4}, with co-modes {2,4}, so a(2100) = 4.
MATHEMATICA
prix[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
comodes[ms_]:=Select[Union[ms], Count[ms, #]<=Min@@Length/@Split[ms]&];
Table[If[n==1, 0, Max[comodes[prix[n]]]], {n, 30}]
CROSSREFS
Ranking and counting partitions:
Number of integer partitions of n where the least part is the unique mode.
+10
2
0, 1, 2, 2, 4, 4, 7, 9, 13, 17, 24, 32, 43, 58, 75, 97, 130, 167, 212, 274, 346, 438, 556, 695, 865, 1082, 1342, 1655, 2041, 2511, 3067, 3756, 4568, 5548, 6728, 8130, 9799, 11810, 14170, 16980, 20305, 24251, 28876, 34366, 40781, 48342, 57206, 67597, 79703
COMMENTS
A mode in a multiset is an element that appears at least as many times as each of the others. For example, the modes in {a,a,b,b,b,c,d,d,d} are {b,d}.
EXAMPLE
The a(1) = 1 through a(8) = 13 partitions:
(1) (2) (3) (4) (5) (6) (7) (8)
(11) (111) (22) (311) (33) (322) (44)
(211) (2111) (222) (511) (422)
(1111) (11111) (411) (3211) (611)
(3111) (4111) (2222)
(21111) (22111) (4211)
(111111) (31111) (5111)
(211111) (32111)
(1111111) (41111)
(221111)
(311111)
(2111111)
(11111111)
MATHEMATICA
Table[If[n==0, 0, Length[Select[IntegerPartitions[n], Last[Length/@Split[#]]>Max@@Most[Length/@Split[#]]&]]], {n, 0, 30}]
CROSSREFS
For greatest part and multiple modes we have A171979.
Allowing multiple modes gives A240303.
For mean instead of least part we have A363723.
These partitions have ranks A364160.
Ranking and counting partitions:
Triangle read by rows where T(n,k) is the number of integer partitions of n with rounded mean k.
+10
1
1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 2, 2, 0, 1, 0, 2, 4, 0, 0, 1, 0, 2, 5, 3, 0, 0, 1, 0, 4, 7, 0, 3, 0, 0, 1, 0, 4, 8, 5, 4, 0, 0, 0, 1, 0, 4, 14, 7, 4, 0, 0, 0, 0, 1, 0, 7, 21, 8, 0, 5, 0, 0, 0, 0, 1, 0, 7, 22, 11, 10, 0, 5, 0, 0, 0, 0, 1
COMMENTS
We use the "rounding half to even" rule, see link.
EXAMPLE
Triangle begins:
1
0 1
0 1 1
0 1 1 1
0 2 2 0 1
0 2 4 0 0 1
0 2 5 3 0 0 1
0 4 7 0 3 0 0 1
0 4 8 5 4 0 0 0 1
0 4 14 7 4 0 0 0 0 1
0 7 21 8 0 5 0 0 0 0 1
0 7 22 11 10 0 5 0 0 0 0 1
0 7 36 15 12 0 6 0 0 0 0 0 1
0 12 32 36 14 0 6 0 0 0 0 0 0 1
0 12 53 23 23 16 0 7 0 0 0 0 0 0 1
0 12 80 30 27 19 0 0 7 0 0 0 0 0 0 1
Row n = 7 counts the following partitions:
. (31111) (511) . (61) . . (7)
(22111) (421) (52)
(211111) (4111) (43)
(1111111) (331)
(322)
(3211)
(2221)
MATHEMATICA
Table[If[n==k==0, 1, Length[Select[IntegerPartitions[n], Round[Mean[#]]==k&]]], {n, 0, 15}, {k, 0, n}]
CROSSREFS
The rank statistic for this triangle is A363489.
Search completed in 0.010 seconds
|