OFFSET
1,2
COMMENTS
A number is not a perfect power if its prime multiplicities are relatively prime. This triangle is an enumeration of all finite aperiodic multisets of positive integers, where a multiset is aperiodic if its multiplicities are relatively prime.
EXAMPLE
Sequence of numbers that are not perfect powers together with their multisets of prime indices begins:
2: {1}
3: {2}
5: {3}
6: {1,2}
7: {4}
10: {1,3}
11: {5}
12: {1,1,2}
13: {6}
14: {1,4}
15: {2,3}
17: {7}
18: {1,2,2}
19: {8}
20: {1,1,3}
21: {2,4}
22: {1,5}
23: {9}
24: {1,1,1,2}
26: {1,6}
28: {1,1,4}
29: {10}
30: {1,2,3}
MATHEMATICA
primeMS[n_]:=If[n===1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
primeMS/@Select[Range[2, 100], GCD@@FactorInteger[#][[All, 2]]===1&]
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Gus Wiseman, May 03 2018
STATUS
approved