|
|
A304449
|
|
Numbers that are either squarefree or a perfect power.
|
|
0
|
|
|
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 19, 21, 22, 23, 25, 26, 27, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 46, 47, 49, 51, 53, 55, 57, 58, 59, 61, 62, 64, 65, 66, 67, 69, 70, 71, 73, 74, 77, 78, 79, 81, 82, 83, 85, 86, 87, 89
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
Select[Range[150], SquareFreeQ[#]||GCD@@FactorInteger[#][[All, 2]]>1&]
|
|
PROG
|
(PARI) isok(n) = issquarefree(n) || ispower(n); \\ Michel Marcus, May 13 2018
|
|
CROSSREFS
|
Cf. A000009, A000720, A000837, A000837, A001222, A001597, A005117, A007916, A013929, A047966, A072774, A073576, A126706, A303554, A303946.
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|