A349157
Heinz numbers of integer partitions where the number of even parts is equal to the number of odd conjugate parts.
Original entry on oeis.org
1, 4, 6, 15, 16, 21, 24, 25, 35, 60, 64, 77, 84, 90, 91, 96, 100, 121, 126, 140, 143, 150, 210, 221, 240, 247, 256, 289, 297, 308, 323, 336, 351, 360, 364, 375, 384, 400, 437, 462, 484, 490, 495, 504, 525, 529, 546, 551, 560, 572, 585, 600, 625, 667, 686, 726
Offset: 1
The terms and their prime indices begin:
1: ()
4: (1,1)
6: (2,1)
15: (3,2)
16: (1,1,1,1)
21: (4,2)
24: (2,1,1,1)
25: (3,3)
35: (4,3)
60: (3,2,1,1)
64: (1,1,1,1,1,1)
77: (5,4)
84: (4,2,1,1)
90: (3,2,2,1)
91: (6,4)
96: (2,1,1,1,1,1)
These partitions are counted by
A277579.
A100824 counts partitions with at most one odd part, ranked by
A349150.
A122111 represents conjugation using Heinz numbers.
A316524 gives the alternating sum of prime indices (reverse:
A344616).
Cf.
A000700,
A000712,
A035363,
A066207,
A066208,
A097613,
A215366,
A239241,
A240009,
A241638,
A316523,
A325700,
A340604.
-
primeMS[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]];
conj[y_]:=If[Length[y]==0,y,Table[Length[Select[y,#>=k&]],{k,1,Max[y]}]];
Select[Range[100],Count[primeMS[#],?EvenQ]==Count[conj[primeMS[#]],?OddQ]&]
A349158
Heinz numbers of integer partitions with exactly one odd part.
Original entry on oeis.org
2, 5, 6, 11, 14, 15, 17, 18, 23, 26, 31, 33, 35, 38, 41, 42, 45, 47, 51, 54, 58, 59, 65, 67, 69, 73, 74, 77, 78, 83, 86, 93, 95, 97, 98, 99, 103, 105, 106, 109, 114, 119, 122, 123, 126, 127, 135, 137, 141, 142, 143, 145, 149, 153, 157, 158, 161, 162, 167, 174
Offset: 1
The terms and corresponding partitions begin:
2: (1) 42: (4,2,1) 86: (14,1)
5: (3) 45: (3,2,2) 93: (11,2)
6: (2,1) 47: (15) 95: (8,3)
11: (5) 51: (7,2) 97: (25)
14: (4,1) 54: (2,2,2,1) 98: (4,4,1)
15: (3,2) 58: (10,1) 99: (5,2,2)
17: (7) 59: (17) 103: (27)
18: (2,2,1) 65: (6,3) 105: (4,3,2)
23: (9) 67: (19) 106: (16,1)
26: (6,1) 69: (9,2) 109: (29)
31: (11) 73: (21) 114: (8,2,1)
33: (5,2) 74: (12,1) 119: (7,4)
35: (4,3) 77: (5,4) 122: (18,1)
38: (8,1) 78: (6,2,1) 123: (13,2)
41: (13) 83: (23) 126: (4,2,2,1)
These partitions are counted by
A000070 up to 0's.
These are the positions of 1's in
A257991.
The even prime indices are counted by
A257992.
The conjugate partitions are ranked by
A345958.
A122111 is a representation of partition conjugation.
A316524 gives the alternating sum of prime indices (reverse:
A344616).
A325698 ranks partitions with as many even as odd parts, counted by
A045931.
A349157 ranks partitions with as many even parts as odd conjugate parts.
Cf.
A000700,
A001222,
A027187,
A027193,
A028260,
A031368 (primes with odd index),
A035363,
A215366,
A277579,
A300063,
A349151.
-
primeMS[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]];
Select[Range[100],Count[primeMS[#],_?OddQ]==1&]
A100824
Number of partitions of n with at most one odd part.
Original entry on oeis.org
1, 1, 1, 2, 2, 4, 3, 7, 5, 12, 7, 19, 11, 30, 15, 45, 22, 67, 30, 97, 42, 139, 56, 195, 77, 272, 101, 373, 135, 508, 176, 684, 231, 915, 297, 1212, 385, 1597, 490, 2087, 627, 2714, 792, 3506, 1002, 4508, 1255, 5763, 1575, 7338, 1958, 9296, 2436, 11732, 3010, 14742
Offset: 0
From _Gus Wiseman_, Jan 21 2022: (Start)
The a(1) = 1 through a(9) = 12 partitions with at most one odd part:
(1) (2) (3) (4) (5) (6) (7) (8) (9)
(21) (22) (32) (42) (43) (44) (54)
(41) (222) (52) (62) (63)
(221) (61) (422) (72)
(322) (2222) (81)
(421) (432)
(2221) (441)
(522)
(621)
(3222)
(4221)
(22221)
(End)
The case of alternating sum 0 (equality) is
A000070.
A multiplicative version is
A339846.
A058695 = partitions of odd numbers.
A277103 = partitions with the same number of odd parts as their conjugate.
Cf.
A000984,
A001791,
A008549,
A097805,
A119620,
A182616,
A236559,
A236913,
A236914,
A304620,
A344607,
A345958,
A347443.
-
seq(coeff(convert(series((1+x/(1-x^2))/mul(1-x^(2*i),i=1..100),x,100),polynom),x,n),n=0..60); (C. Ronaldo)
-
nmax = 50; CoefficientList[Series[(1+x/(1-x^2)) * Product[1/(1-x^(2*k)), {k, 1, nmax}], {x, 0, nmax}], x] (* Vaclav Kotesovec, Mar 07 2016 *)
Table[Length[Select[IntegerPartitions[n],Count[#,?OddQ]<=1&]],{n,0,30}] (* _Gus Wiseman, Jan 21 2022 *)
-
a(n) = if(n%2==0, numbpart(n/2), sum(i=1, (n+1)\2, numbpart((n-2*i+1)\2))) \\ David A. Corneth, Jan 23 2022
More terms from C. Ronaldo (aga_new_ac(AT)hotmail.com), Jan 19 2005
A349151
Heinz numbers of integer partitions with alternating sum <= 1.
Original entry on oeis.org
1, 2, 4, 6, 8, 9, 15, 16, 18, 24, 25, 32, 35, 36, 49, 50, 54, 60, 64, 72, 77, 81, 96, 98, 100, 121, 128, 135, 140, 143, 144, 150, 162, 169, 196, 200, 216, 221, 225, 240, 242, 256, 288, 289, 294, 308, 315, 323, 324, 338, 361, 375, 384, 392, 400, 437, 441, 450
Offset: 1
The terms and their prime indices begin:
1: {}
2: {1}
4: {1,1}
6: {1,2}
8: {1,1,1}
9: {2,2}
15: {2,3}
16: {1,1,1,1}
18: {1,2,2}
24: {1,1,1,2}
25: {3,3}
32: {1,1,1,1,1}
35: {3,4}
36: {1,1,2,2}
49: {4,4}
The case of alternating sum 0 is
A000290.
These partitions are counted by
A100824.
These are the positions of 0's and 1's in
A344616.
The case of alternating sum 1 is
A345958.
The conjugate partitions are ranked by
A349150.
A103919 counts partitions by sum and alternating sum (reverse:
A344612).
A122111 is a representation of partition conjugation.
A316524 gives the alternating sum of prime indices.
A344610 counts partitions by sum and positive reverse-alternating sum.
A349157 ranks partitions with as many even parts as odd conjugate parts.
Cf.
A000070,
A000700,
A001222,
A027187,
A027193,
A215366,
A277103,
A277579,
A326841,
A349149,
A349158.
-
primeMS[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]];
ats[y_]:=Sum[(-1)^(i-1)*y[[i]],{i,Length[y]}];
Select[Range[100],ats[Reverse[primeMS[#]]]<=1&]
A349149
Number of even-length integer partitions of n with at most one odd part in the conjugate partition.
Original entry on oeis.org
1, 0, 1, 1, 2, 2, 3, 4, 5, 7, 7, 12, 11, 19, 15, 30, 22, 45, 30, 67, 42, 97, 56, 139, 77, 195, 101, 272, 135, 373, 176, 508, 231, 684, 297, 915, 385, 1212, 490, 1597, 627, 2087, 792, 2714, 1002, 3506, 1255, 4508, 1575, 5763, 1958, 7338, 2436, 9296, 3010, 11732
Offset: 0
The a(2) = 1 through a(9) = 7 partitions:
11 21 22 32 33 43 44 54
1111 2111 2211 2221 2222 3222
111111 3211 3311 3321
211111 221111 4311
11111111 222111
321111
21111111
The case of 0 odd conjugate parts is
A000041 up to 0's, ranked by
A000290.
The case of 1 odd conjugate part is
A000070 up to 0's.
A045931 counts partitions with as many even as odd parts, ranked by
A325698.
A103919 counts partitions by sum and alternating sum (reverse:
A344612).
A122111 is a representation of partition conjugation.
A277103 counts partitions with the same alternating sum as their conjugate.
A277579 counts partitions with as many even parts as odd conjugate parts.
A325039 counts partitions with the same product as their conjugate.
A344610 counts partitions by sum and positive reverse-alternating sum.
A345196 counts partitions with the same rev-alt sum as their conjugate.
Cf.
A000097,
A000700,
A001700,
A027187,
A027193,
A108711,
A236559,
A236913,
A325534,
A344607,
A344651.
-
conj[y_]:=If[Length[y]==0,y,Table[Length[Select[y,#>=k&]],{k,1,Max[y]}]];
Table[Length[Select[IntegerPartitions[n],EvenQ[Length[#]]&&Count[conj[#],_?OddQ]<=1&]],{n,0,30}]
Showing 1-5 of 5 results.
Comments