OFFSET
1,2
COMMENTS
EXAMPLE
The sequence of terms together with their prime indices begins:
1: {}
2: {1}
3: {2}
4: {1,1}
5: {3}
7: {4}
8: {1,1,1}
9: {2,2}
11: {5}
13: {6}
15: {2,3}
16: {1,1,1,1}
17: {7}
19: {8}
23: {9}
25: {3,3}
27: {2,2,2}
29: {10}
31: {11}
32: {1,1,1,1,1}
For example, 45 is in the sequence because its distinct prime indices are {2,3} and 2 is not a divisor of 3.
MATHEMATICA
Select[Range[100], !MatchQ[PrimePi/@First/@FactorInteger[#], {___, x_, y_, ___}/; Divisible[y, x]]&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Oct 29 2019
STATUS
approved