OFFSET
1,2
COMMENTS
EXAMPLE
The terms together with their prime indices begin:
1: {}
2: {1}
4: {1,1}
5: {3}
8: {1,1,1}
10: {1,3}
11: {5}
16: {1,1,1,1}
20: {1,1,3}
22: {1,5}
23: {9}
25: {3,3}
31: {11}
32: {1,1,1,1,1}
MATHEMATICA
primeMS[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Select[Range[100], And@@PrimeQ/@Join@@primeMS/@primeMS[#]&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Oct 23 2022
STATUS
approved