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.
LINKS
Wikipedia, Cartesian product.
EXAMPLE
The a(15) = 3 ways are: (1,1), (1,3), (2,3).
The a(18) = 3 ways are: (1,1,1), (1,1,2), (1,2,2).
The a(2) = 1 through a(19) = 4 ways:
1 1 11 1 11 1 111 11 11 1 111 1 11 11 1111 1 111 1
2 3 12 2 12 13 5 112 2 12 13 7 112 2
4 22 3 14 23 122 4
6 8
MATHEMATICA
primeMS[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Table[Length[Select[Tuples[Divisors/@primeMS[n]], LessEqual@@#&]], {n, 100}]
CROSSREFS
Positions of first appearances are A355736.
The reverse version is A355749.
A000005 counts divisors.
A003963 multiplies together the prime indices of n.
A061395 selects the maximum prime index.
A120383 lists numbers divisible by all of their prime indices.
A324850 lists numbers divisible by the product of their prime indices.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jul 16 2022
STATUS
approved