OFFSET
0,3
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 2 * 17 + 1 = 35, all minus 1, are {2,3}, with LCM 6, so a(17) = 6.
MATHEMATICA
Table[If[n==1, 0, LCM@@(PrimePi/@First/@FactorInteger[n]-1)], {n, 1, 100, 2}]
CROSSREFS
Positions of records (first appearances) are A006005.
The GCD of the prime indices of n, all minus 1, is A328167(n).
The LCM of the prime indices of n, all plus 1, is A328219(n).
Partitions whose parts minus 1 are relatively prime are A328170.
Numbers whose prime indices minus 1 are relatively prime are A328168.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Oct 17 2019
STATUS
approved