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.
If n is a prime power prime(x)^y, then a(n) is the number of integer partitions of x; otherwise, a(n) = 0.
EXAMPLE
The a(49) = 5 choices:
((4),(4))
((3,1),(3,1))
((2,2),(2,2))
((2,1,1),(2,1,1))
((1,1,1,1),(1,1,1,1))
MATHEMATICA
Table[Switch[n, 1, 1, _?PrimePowerQ, PartitionsP[PrimePi[FactorInteger[n][[1, 1]]]], _, 0], {n, 100}]
CROSSREFS
For disjoint instead of constant we have A383706.
For distinct instead of constant we have A387110.
A003963 multiplies together prime indices.
A120383 lists numbers divisible by all of their prime indices.
A289509 lists numbers with relatively prime prime indices.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Aug 21 2025
STATUS
approved
