A353844
Starting with the multiset of prime indices of n, repeatedly take the multiset of run-sums until you reach a squarefree number. This number is prime (or 1) iff n belongs to the sequence.
Original entry on oeis.org
1, 2, 3, 4, 5, 7, 8, 9, 11, 12, 13, 16, 17, 19, 23, 25, 27, 29, 31, 32, 37, 40, 41, 43, 47, 49, 53, 59, 61, 63, 64, 67, 71, 73, 79, 81, 83, 84, 89, 97, 101, 103, 107, 109, 112, 113, 121, 125, 127, 128, 131, 137, 139, 144, 149, 151, 157, 163, 167, 169, 173, 179
Offset: 1
The terms together with their prime indices begin:
1: {} 25: {3,3} 64: {1,1,1,1,1,1}
2: {1} 27: {2,2,2} 67: {19}
3: {2} 29: {10} 71: {20}
4: {1,1} 31: {11} 73: {21}
5: {3} 32: {1,1,1,1,1} 79: {22}
7: {4} 37: {12} 81: {2,2,2,2}
8: {1,1,1} 40: {1,1,1,3} 83: {23}
9: {2,2} 41: {13} 84: {1,1,2,4}
11: {5} 43: {14} 89: {24}
12: {1,1,2} 47: {15} 97: {25}
13: {6} 49: {4,4} 101: {26}
16: {1,1,1,1} 53: {16} 103: {27}
17: {7} 59: {17} 107: {28}
19: {8} 61: {18} 109: {29}
23: {9} 63: {2,2,4} 112: {1,1,1,1,4}
The trajectory 60 -> 45 -> 35 ends in a nonprime number 35, so 60 is not in the sequence.
The trajectory 84 -> 63 -> 49 -> 19 ends in a prime number 19, so 84 is in the sequence.
A304442 counts partitions with all equal run-sums.
A353851 counts compositions with all equal run-sums, ranked by
A353848.
A353832 represents the operation of taking run-sums of a partition.
A353838 ranks partitions with all distinct run-sums, counted by
A353837.
Cf.
A005811,
A073093,
A130091,
A181819,
A182857,
A304660,
A325239,
A325277,
A353839,
A353862,
A353867.
-
ope[n_]:=Times@@Prime/@Cases[If[n==1,{},FactorInteger[n]],{p_,k_}:>PrimePi[p]*k];
Select[Range[100],#==1||PrimeQ[NestWhile[ope,#,!SquareFreeQ[#]&]]&]
A383088
Numbers whose multiset of prime indices does not have all equal run-sums.
Original entry on oeis.org
6, 10, 14, 15, 18, 20, 21, 22, 24, 26, 28, 30, 33, 34, 35, 36, 38, 39, 42, 44, 45, 46, 48, 50, 51, 52, 54, 55, 56, 57, 58, 60, 62, 65, 66, 68, 69, 70, 72, 74, 75, 76, 77, 78, 80, 82, 84, 85, 86, 87, 88, 90, 91, 92, 93, 94, 95, 96, 98, 99, 100, 102, 104, 105
Offset: 1
The prime indices of 36 are {1,1,2,2}, with run-sums (2,4), so 36 is in the sequence, even though we have the multiset partition {{1,1},{2},{2}} with equal sums.
The terms together with their prime indices begin:
6: {1,2}
10: {1,3}
14: {1,4}
15: {2,3}
18: {1,2,2}
20: {1,1,3}
21: {2,4}
22: {1,5}
24: {1,1,1,2}
26: {1,6}
28: {1,1,4}
30: {1,2,3}
33: {2,5}
34: {1,7}
35: {3,4}
36: {1,1,2,2}
38: {1,8}
39: {2,6}
42: {1,2,4}
44: {1,1,5}
45: {2,2,3}
46: {1,9}
For distinct instead of equal run-sums we have
A353839.
Partitions of this type are counted by
A382076.
Counting and ranking partitions by run-lengths and run-sums:
A382877 counts permutations of prime indices with equal run-sums, zeros
A383100.
A383098 counts partitions with a permutation having all equal run-sums, ranks
A383110.
Cf.
A000720,
A006171,
A300273,
A353861,
A353932,
A354584,
A383014,
A383015,
A383095,
A383097,
A383099.
Comments