OFFSET
1,1
COMMENTS
EXAMPLE
The sequence of terms together with their prime indices begins:
4: {1,1}
6: {1,2}
10: {1,3}
14: {1,4}
18: {1,2,2}
22: {1,5}
26: {1,6}
34: {1,7}
38: {1,8}
46: {1,9}
58: {1,10}
60: {1,1,2,3}
62: {1,11}
74: {1,12}
82: {1,13}
86: {1,14}
94: {1,15}
106: {1,16}
118: {1,17}
122: {1,18}
MATHEMATICA
primeMS[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Select[Range[1000], Times@@primeMS[#]==Total[primeMS[#]]-1&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 25 2019
STATUS
approved