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}]
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[#]]&]
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[#]]&]
A360455
Number of integer partitions of n for which the distinct parts have the same median as the multiplicities.
Original entry on oeis.org
1, 1, 0, 0, 2, 1, 1, 0, 2, 2, 5, 8, 10, 14, 20, 19, 26, 31, 35, 41, 55, 65, 85, 102, 118, 151, 181, 201, 236, 281, 313, 365, 424, 495, 593, 688, 825, 978, 1181, 1374, 1650, 1948, 2323, 2682, 3175, 3680, 4314, 4930, 5718, 6546, 7532, 8557, 9777, 11067, 12622
Offset: 0
The a(1) = 1 through a(11) = 8 partitions:
1 . . 22 221 3111 . 3311 333 3331 32222
211 41111 32211 33211 33221
42211 44111
322111 52211
511111 322211
332111
422111
3221111
These partitions have ranks
A360453.
A116608 counts partitions by number of distinct parts.
-
Table[Length[Select[IntegerPartitions[n], Median[Length/@Split[#]]==Median[Union[#]]&]],{n,0,30}]
A363721
Number of odd-length integer partitions of n satisfying (mean) = (median) = (mode), assuming there is a unique mode.
Original entry on oeis.org
1, 1, 2, 1, 2, 2, 2, 1, 3, 3, 2, 2, 2, 5, 7, 1, 2, 8, 2, 9, 16, 11, 2, 2, 15, 16, 37, 33, 2, 44, 2, 1, 79, 33, 103, 127, 2, 47, 166, 39, 2, 214, 2, 384, 738, 90, 2, 2, 277, 185, 631, 1077, 2, 1065, 1560, 477, 1156, 223, 2, 2863
Offset: 1
The a(n) partitions for n = {1, 3, 9, 14, 15, 18, 20, 22} (A..M = 10..22):
1 3 9 E F I K M
111 333 2222222 555 666 44444 22222222222
111111111 3222221 33333 222222222 54443 32222222221
3322211 43332 322222221 64442 33222222211
4222211 53331 332222211 65441 33322222111
63321 422222211 74432 42222222211
111111111111111 432222111 74441 43222222111
522222111 84431 44222221111
94421 52222222111
53222221111
62222221111
All odd-length partitions are counted by
A027193.
A008284 counts partitions by length (or negative mean), strict
A008289.
A362608 counts partitions with a unique mode.
A363726 counts odd-length partitions with a unique mode.
-
modes[ms_]:=Select[Union[ms],Count[ms,#]>=Max@@Length/@Split[ms]&];
Table[Length[Select[IntegerPartitions[n],OddQ[Length[#]]&&{Mean[#]}=={Median[#]}==modes[#]&]],{n,30}]
A360456
Number of integer partitions of n for which the parts have the same median as the multiplicities.
Original entry on oeis.org
1, 1, 0, 0, 1, 0, 0, 1, 2, 5, 7, 10, 14, 21, 28, 36, 51, 64, 84, 106, 132, 165, 202, 252, 311, 391, 473, 579, 713, 868, 1069, 1303, 1617, 1954, 2404, 2908, 3556, 4282, 5200, 6207, 7505, 8934, 10700, 12717, 15165, 17863, 21222, 24976, 29443, 34523, 40582, 47415
Offset: 0
The a(1) = 1 through a(11) = 10 partitions:
1 . . 22 . . 2221 3311 333 4222 5222
32111 3222 33211 33221
32211 42211 52211
42111 43111 53111
321111 52111 62111
421111 322211
3211111 431111
521111
4211111
32111111
These partitions have ranks
A360454.
A008284 counts partitions by number of parts.
-
Table[Length[Select[IntegerPartitions[n], Median[Length/@Split[#]]==Median[#]&]],{n,0,30}]
Comments