OFFSET
1,4
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 a(n) permutations for n = 2, 4, 6, 8, 21:
(2) (2,3) (2,2,4) (2,3,7) (31,4,4,68)
(3,2) (2,4,2) (2,7,3) (31,4,68,4)
(4,2,2) (3,2,7) (31,68,4,4)
(3,7,2) (4,31,4,68)
(7,2,3) (4,31,68,4)
(7,3,2) (4,4,31,68)
(4,4,68,31)
(4,68,31,4)
(4,68,4,31)
(68,31,4,4)
(68,4,31,4)
(68,4,4,31)
MATHEMATICA
primeMS[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Table[Length[Permutations[primeMS[2^n-1]]], {n, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Sep 03 2020
STATUS
approved
