A359896
Number of odd-length integer partitions of n whose parts do not have the same mean as median.
Original entry on oeis.org
0, 0, 0, 0, 1, 2, 2, 6, 9, 11, 15, 27, 32, 50, 58, 72, 112, 149, 171, 246, 286, 359, 477, 630, 773, 941, 1181, 1418, 1749, 2289, 2668, 3429, 4162, 4878, 6074, 7091, 8590, 10834, 12891, 15180, 18491, 22314, 25845, 31657, 36394, 42269, 52547, 62414, 73576, 85701
Offset: 0
The a(4) = 1 through a(9) = 11 partitions:
(211) (221) (411) (322) (332) (441)
(311) (21111) (331) (422) (522)
(421) (431) (621)
(511) (521) (711)
(22111) (611) (22221)
(31111) (22211) (32211)
(32111) (33111)
(41111) (42111)
(2111111) (51111)
(2211111)
(3111111)
These partitions are ranked by
A359892.
-
Table[Length[Select[IntegerPartitions[n], OddQ[Length[#]]&&Mean[#]!=Median[#]&]],{n,0,30}]
A359898
Number of strict integer partitions of n whose parts do not have the same mean as median.
Original entry on oeis.org
0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 4, 6, 5, 11, 12, 14, 21, 29, 26, 44, 44, 58, 68, 92, 92, 118, 137, 165, 192, 241, 223, 324, 353, 405, 467, 518, 594, 741, 809, 911, 987, 1239, 1276, 1588, 1741, 1823, 2226, 2566, 2727, 3138, 3413, 3905, 4450, 5093, 5434, 6134
Offset: 0
The a(7) = 1 through a(13) = 11 partitions:
(4,2,1) (4,3,1) (6,2,1) (5,3,2) (5,4,2) (6,5,1) (6,4,3)
(5,2,1) (5,4,1) (6,3,2) (7,3,2) (6,5,2)
(6,3,1) (6,4,1) (8,3,1) (7,4,2)
(7,2,1) (7,3,1) (9,2,1) (7,5,1)
(8,2,1) (6,3,2,1) (8,3,2)
(5,3,2,1) (8,4,1)
(9,3,1)
(10,2,1)
(5,4,3,1)
(6,4,2,1)
(7,3,2,1)
The complement is counted by
A359897.
A008289 counts strict partitions by mean.
-
Table[Length[Select[IntegerPartitions[n], UnsameQ@@#&&Mean[#]!=Median[#]&]],{n,0,30}]
A360454
Numbers for which the prime multiplicities (or sorted signature) have the same median as the prime indices.
Original entry on oeis.org
1, 2, 9, 54, 100, 120, 125, 135, 168, 180, 189, 240, 252, 264, 280, 297, 300, 312, 336, 351, 396, 408, 440, 450, 456, 459, 468, 480, 513, 520, 528, 540, 552, 560, 588, 612, 616, 621, 624, 672, 680, 684, 696, 728, 744, 756, 760, 783, 816, 828, 837, 880, 882
Offset: 1
The terms together with their prime indices begin:
1: {}
2: {1}
9: {2,2}
54: {1,2,2,2}
100: {1,1,3,3}
120: {1,1,1,2,3}
125: {3,3,3}
135: {2,2,2,3}
168: {1,1,1,2,4}
180: {1,1,2,2,3}
189: {2,2,2,4}
240: {1,1,1,1,2,3}
For example, the prime indices of 336 are {1,1,1,1,2,4} with median 1 and multiplicities {1,1,4} with median 1, so 336 is in the sequence.
For distinct indices instead of indices we have
A360453, counted by
A360455.
For distinct indices instead of multiplicities:
A360249, counted by
A360245.
These partitions are counted by
A360456.
A240219 counts partitions with mean equal to median, ranked by
A359889.
A359894 counts partitions with mean different from median, ranks
A359890.
A360005 gives median of prime indices (times two).
-
prix[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]];
Select[Range[1000],Median[prix[#]]==Median[Length/@Split[prix[#]]]&]
A359891
Members of A026424 (numbers with an odd number of prime factors) whose prime indices have the same mean as median.
Original entry on oeis.org
2, 3, 5, 7, 8, 11, 13, 17, 19, 23, 27, 29, 30, 31, 32, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 105, 107, 109, 110, 113, 125, 127, 128, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233
Offset: 1
The terms together with their prime indices begin:
2: {1}
3: {2}
5: {3}
7: {4}
8: {1,1,1}
11: {5}
13: {6}
17: {7}
19: {8}
23: {9}
27: {2,2,2}
29: {10}
30: {1,2,3}
31: {11}
32: {1,1,1,1,1}
For example, the prime indices of 180 are {1,1,2,2,3}, with mean 9/5 and median 2, so 180 is not in the sequence.
A subset of
A026424 = numbers with odd bigomega.
The RHS (median of prime indices) is
A360005/2.
A316413 lists numbers whose prime indices have integer mean.
A359908 lists numbers whose prime indices have integer median.
-
prix[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]];
Select[Range[100],OddQ[PrimeOmega[#]]&&Mean[prix[#]]==Median[prix[#]]&]
A363729
Numbers that are not a power of a prime but whose prime indices satisfy (mean) = (median) = (mode), assuming there is a unique mode.
Original entry on oeis.org
90, 270, 525, 550, 756, 810, 1666, 1911, 1950, 2268, 2430, 2625, 2695, 2700, 2750, 5566, 6762, 6804, 6897, 7128, 7290, 8100, 8500, 9310, 9750, 10285, 10478, 11011, 11550, 11662, 12250, 12375, 12495, 13125, 13377, 13750, 14014, 14703, 18865, 19435, 20412, 21384
Offset: 1
The prime indices of 6897 are {2,5,5,8}, with mean 5, median 5, and modes {5}, so 6897 is in the sequence.
The terms together with their prime indices begin:
90: {1,2,2,3}
270: {1,2,2,2,3}
525: {2,3,3,4}
550: {1,3,3,5}
756: {1,1,2,2,2,4}
810: {1,2,2,2,2,3}
1666: {1,4,4,7}
1911: {2,4,4,6}
1950: {1,2,3,3,6}
2268: {1,1,2,2,2,2,4}
2430: {1,2,2,2,2,2,3}
For just primes instead of prime powers we have
A363722.
These partitions are counted by
A363728.
A360005 gives twice the median of prime indices.
Just two statistics:
- (median) = (mode): counted by
A363740.
Cf.
A215366,
A327473,
A327476,
A359893,
A359908,
A360009,
A360248,
A360550,
A363721,
A363725,
A363741.
-
prix[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]];
modes[ms_]:=Select[Union[ms],Count[ms,#]>=Max@@Length/@Split[ms]&];
Select[Range[1000],!PrimePowerQ[#]&&{Mean[prix[#]]}=={Median[prix[#]]}==modes[prix[#]]&]
A359892
Members of A026424 (numbers with an odd number of prime factors) whose prime indices do not have the same mean as median.
Original entry on oeis.org
12, 18, 20, 28, 42, 44, 45, 48, 50, 52, 63, 66, 68, 70, 72, 75, 76, 78, 80, 92, 98, 99, 102, 108, 112, 114, 116, 117, 120, 124, 130, 138, 147, 148, 153, 154, 162, 164, 165, 168, 170, 171, 172, 174, 175, 176, 180, 182, 186, 188, 190, 192, 195, 200, 207, 208
Offset: 1
The terms together with their prime indices begin:
12: {1,1,2}
18: {1,2,2}
20: {1,1,3}
28: {1,1,4}
42: {1,2,4}
44: {1,1,5}
45: {2,2,3}
48: {1,1,1,1,2}
50: {1,3,3}
52: {1,1,6}
63: {2,2,4}
66: {1,2,5}
68: {1,1,7}
70: {1,3,4}
72: {1,1,1,2,2}
For example, the prime indices of 180 are {1,1,2,2,3}, with mean 9/5 and median 2, so 180 is in the sequence.
A subset of
A026424 = numbers with odd bigomega.
The RHS (median of prime indices) is
A360005/2.
A316413 lists numbers whose prime indices have integer mean.
A359902 counts odd-length partitions by median.
Cf.
A240219,
A327473,
A327476,
A348551,
A359894,
A359898,
A359899,
A359900,
A359911,
A359912,
A360006-
A360009.
-
prix[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]];
Select[Range[100],OddQ[PrimeOmega[#]]&&Mean[prix[#]]!=Median[prix[#]]&]
A363722
Nonprime numbers whose prime indices satisfy (mean) = (median) = (mode), assuming there is a unique mode.
Original entry on oeis.org
4, 8, 9, 16, 25, 27, 32, 49, 64, 81, 90, 121, 125, 128, 169, 243, 256, 270, 289, 343, 361, 512, 525, 529, 550, 625, 729, 756, 810, 841, 961, 1024, 1331, 1369, 1666, 1681, 1849, 1911, 1950, 2048, 2187, 2197, 2209, 2268, 2401, 2430, 2625, 2695, 2700, 2750, 2809
Offset: 1
The terms together with their prime indices begin:
4: {1,1}
8: {1,1,1}
9: {2,2}
16: {1,1,1,1}
25: {3,3}
27: {2,2,2}
32: {1,1,1,1,1}
49: {4,4}
64: {1,1,1,1,1,1}
81: {2,2,2,2}
90: {1,2,2,3}
121: {5,5}
125: {3,3,3}
128: {1,1,1,1,1,1,1}
These partitions are counted by
A363719 - 1 for n > 0.
For prime powers instead of just primes we have
A363729, counted by
A363728.
A360005 gives twice the median of prime indices.
Just two statistics:
- (median) = (mode): counted by
A363740.
-
prix[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]];
modes[ms_]:=Select[Union[ms],Count[ms,#]>=Max@@Length/@Split[ms]&];
Select[Range[100],!PrimeQ[#]&&{Mean[prix[#]]}=={Median[prix[#]]}==modes[prix[#]]&]
Comments