OFFSET
1,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.
Also the Heinz number of the part-wise half (rounded down) of the partition with Heinz number n, where the Heinz number of a partition (y_1,...,y_k) is prime(y_1)*...*prime(y_k).
FORMULA
EXAMPLE
The prime indices of n = 1501500 are {1,1,2,3,3,3,4,5,6}, so the prime indices of a(n) are {1,1,1,1,2,2,3}; hence we have a(1501500) = 720.
The 6 odd positions of 2124 are: 63, 99, 105, 165, 175, 275, with prime indices:
63: {2,2,4}
99: {2,2,5}
105: {2,3,4}
165: {2,3,5}
175: {3,3,4}
275: {3,3,5}
MATHEMATICA
Table[Times@@(If[#1<=2, 1, Prime[Floor[PrimePi[#1]/2]]^#2]&@@@FactorInteger[n]), {n, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Oct 23 2022
STATUS
approved