OFFSET
1,2
COMMENTS
A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.
EXAMPLE
The prime indices of 60 are {1,1,2,3}, differences (0,1,1), positive (1,1).
Rows begin:
1: () 16: () 31: () 46: (8)
2: () 17: () 32: () 47: ()
3: () 18: (1) 33: (3) 48: (1)
4: () 19: () 34: (6) 49: ()
5: () 20: (2) 35: (1) 50: (2)
6: (1) 21: (2) 36: (1) 51: (5)
7: () 22: (4) 37: () 52: (5)
8: () 23: () 38: (7) 53: ()
9: () 24: (1) 39: (4) 54: (1)
10: (2) 25: () 40: (2) 55: (2)
11: () 26: (5) 41: () 56: (3)
12: (1) 27: () 42: (1,2) 57: (6)
13: () 28: (3) 43: () 58: (9)
14: (3) 29: () 44: (4) 59: ()
15: (1) 30: (1,1) 45: (1) 60: (1,1)
MATHEMATICA
prix[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Table[DeleteCases[Differences[prix[n]], 0], {n, 100}]
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Gus Wiseman, May 23 2025
STATUS
approved
