A349159
Numbers whose sum of prime indices is twice their alternating sum.
Original entry on oeis.org
1, 12, 63, 66, 112, 190, 255, 325, 408, 434, 468, 609, 805, 832, 931, 946, 1160, 1242, 1353, 1380, 1534, 1539, 1900, 2035, 2067, 2208, 2296, 2387, 2414, 2736, 3055, 3108, 3154, 3330, 3417, 3509, 3913, 4185, 4340, 4503, 4646, 4650, 4664, 4864, 5185, 5684, 5863
Offset: 1
The terms and their prime indices begin:
1: ()
12: (2,1,1)
63: (4,2,2)
66: (5,2,1)
112: (4,1,1,1,1)
190: (8,3,1)
255: (7,3,2)
325: (6,3,3)
408: (7,2,1,1,1)
434: (11,4,1)
468: (6,2,2,1,1)
609: (10,4,2)
805: (9,4,3)
832: (6,1,1,1,1,1,1)
931: (8,4,4)
946: (14,5,1)
1160: (10,3,1,1,1)
These partitions are counted by
A000712 up to 0's.
A025047 counts alternating or wiggly compositions, complement
A345192.
A116406 counts compositions with alternating sum >= 0, ranked by
A345913.
A138364 counts compositions with alternating sum 0, ranked by
A344619.
A346697 adds up odd-indexed prime indices.
A346698 adds up even-indexed prime indices.
Cf.
A000070,
A000290,
A001700,
A028260,
A045931,
A120452,
A195017,
A241638,
A257991,
A257992,
A325698,
A345958,
A349155.
-
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[1000],Total[primeMS[#]]==2*ats[primeMS[#]]&]
A349160
Numbers whose sum of prime indices is twice their reverse-alternating sum.
Original entry on oeis.org
1, 10, 12, 39, 63, 66, 88, 112, 115, 190, 228, 255, 259, 306, 325, 408, 434, 468, 517, 544, 609, 620, 783, 793, 805, 832, 870, 931, 946, 1150, 1160, 1204, 1241, 1242, 1353, 1380, 1392, 1534, 1539, 1656, 1691, 1722, 1845, 1900, 2035, 2067, 2208, 2296, 2369
Offset: 1
The terms and their prime indices begin:
1: ()
10: (3,1)
12: (2,1,1)
39: (6,2)
63: (4,2,2)
66: (5,2,1)
88: (5,1,1,1)
112: (4,1,1,1,1)
115: (9,3)
190: (8,3,1)
228: (8,2,1,1)
255: (7,3,2)
259: (12,4)
306: (7,2,2,1)
325: (6,3,3)
408: (7,2,1,1,1)
434: (11,4,1)
468: (6,2,2,1,1)
These partitions are counted by
A006330 up to 0's.
The negative reverse version is
A348617.
The non-reverse version is
A349159.
A346697 adds up odd-indexed prime indices.
A346698 adds up even-indexed prime indices.
Cf.
A000984,
A001700,
A028260,
A066207,
A120452,
A195017,
A257991,
A257992,
A344607,
A344609,
A345958,
A349155.
-
primeMS[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]];
sats[y_]:=Sum[(-1)^(i-Length[y])*y[[i]],{i,Length[y]}];
Select[Range[1000],Total[primeMS[#]]==2*sats[primeMS[#]]&]
A348617
Numbers whose sum of prime indices is twice their negated alternating sum.
Original entry on oeis.org
1, 10, 39, 88, 115, 228, 259, 306, 517, 544, 620, 783, 793, 870, 1150, 1204, 1241, 1392, 1656, 1691, 1722, 1845, 2369, 2590, 2596, 2775, 2944, 3038, 3277, 3280, 3339, 3498, 3692, 3996, 4247, 4440, 4935, 5022, 5170, 5226, 5587, 5644, 5875, 5936, 6200, 6321
Offset: 1
The terms and their prime indices begin:
1: ()
10: (3,1)
39: (6,2)
88: (5,1,1,1)
115: (9,3)
228: (8,2,1,1)
259: (12,4)
306: (7,2,2,1)
517: (15,5)
544: (7,1,1,1,1,1)
620: (11,3,1,1)
783: (10,2,2,2)
793: (18,6)
870: (10,3,2,1)
1150: (9,3,3,1)
1204: (14,4,1,1)
1241: (21,7)
1392: (10,2,1,1,1,1)
1656: (9,2,2,1,1,1)
1691: (24,8)
These partitions are counted by
A001523 up to 0's.
The reverse nonnegative version is
A349160, counted by
A006330 up to 0's.
A346697 adds up odd-indexed prime indices.
A346698 adds up even-indexed prime indices.
Cf.
A000984,
A001700,
A028260,
A045931,
A120452,
A195017,
A257991,
A257992,
A262977,
A325698,
A344619,
A345958.
-
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[1000],Total[primeMS[#]]==-2*ats[primeMS[#]]&]
A349154
Numbers k such that the k-th composition in standard order has sum equal to negative twice its alternating sum.
Original entry on oeis.org
0, 12, 160, 193, 195, 198, 204, 216, 240, 2304, 2561, 2563, 2566, 2572, 2584, 2608, 2656, 2752, 2944, 3074, 3077, 3079, 3082, 3085, 3087, 3092, 3097, 3099, 3102, 3112, 3121, 3123, 3126, 3132, 3152, 3169, 3171, 3174, 3180, 3192, 3232, 3265, 3267, 3270, 3276
Offset: 1
The terms and corresponding compositions begin:
0: ()
12: (1,3)
160: (2,6)
193: (1,6,1)
195: (1,5,1,1)
198: (1,4,1,2)
204: (1,3,1,3)
216: (1,2,1,4)
240: (1,1,1,5)
2304: (3,9)
2561: (2,9,1)
2563: (2,8,1,1)
2566: (2,7,1,2)
2572: (2,6,1,3)
2584: (2,5,1,4)
These compositions are counted by
A224274 up to 0's.
A positive unordered version is
A349159, counted by
A000712 up to 0's.
A000346 = even-length compositions with alt sum != 0, complement
A001700.
A003242 counts Carlitz compositions.
A025047 counts alternating or wiggly compositions, complement
A345192.
A103919 counts partitions by sum and alternating sum (reverse:
A344612).
A116406 counts compositions with alternating sum >=0, ranked by
A345913.
A138364 counts compositions with alternating sum 0, ranked by
A344619.
Cf.
A000070,
A000984,
A008549,
A027306,
A058622,
A088218,
A114121,
A120452,
A262977,
A294175,
A345917,
A349160.
Statistics of standard compositions:
- The compositions themselves are the rows of
A066099.
Classes of standard compositions:
-
ats[y_]:=Sum[(-1)^(i-1)*y[[i]],{i,Length[y]}];
stc[n_]:=Differences[Prepend[Join@@Position[Reverse[IntegerDigits[n,2]],1],0]]//Reverse;
Select[Range[0,1000],Total[stc[#]]==-2*ats[stc[#]]&]
A349153
Numbers k such that the k-th composition in standard order has sum equal to twice its reverse-alternating sum.
Original entry on oeis.org
0, 11, 12, 14, 133, 138, 143, 148, 155, 158, 160, 168, 179, 182, 188, 195, 198, 204, 208, 216, 227, 230, 236, 240, 248, 2057, 2066, 2071, 2077, 2084, 2091, 2094, 2101, 2106, 2111, 2120, 2131, 2134, 2140, 2149, 2154, 2159, 2164, 2171, 2174, 2192, 2211, 2214
Offset: 1
The terms and corresponding compositions begin:
0: ()
11: (2,1,1)
12: (1,3)
14: (1,1,2)
133: (5,2,1)
138: (4,2,2)
143: (4,1,1,1,1)
148: (3,2,3)
155: (3,1,2,1,1)
158: (3,1,1,1,2)
160: (2,6)
168: (2,2,4)
179: (2,1,3,1,1)
182: (2,1,2,1,2)
188: (2,1,1,1,3)
These compositions are counted by
A262977 up to 0's.
The unreversed negative version is
A349154.
A non-reverse unordered version is
A349159, counted by
A000712 up to 0's.
A003242 counts Carlitz compositions.
A025047 counts alternating or wiggly compositions, complement
A345192.
A116406 counts compositions with alternating sum >=0, ranked by
A345913.
A138364 counts compositions with alternating sum 0, ranked by
A344619.
Cf.
A000070,
A000346,
A001250,
A001700,
A008549,
A027306,
A058622,
A088218,
A114121,
A120452,
A294175.
Statistics of standard compositions:
- The compositions themselves are the rows of
A066099.
- Heinz number is given by
A333219.
Classes of standard compositions:
-
stc[n_]:=Differences[ Prepend[Join@@Position[ Reverse[IntegerDigits[n,2]],1],0]]//Reverse;
sats[y_]:=Sum[(-1)^(i-Length[y])*y[[i]],{i,Length[y]}];
Select[Range[0,1000],Total[stc[#]]==2*sats[stc[#]]&]
Showing 1-5 of 5 results.
Comments