OFFSET
1,1
COMMENTS
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
EXAMPLE
Define quality Q to signify a number k neither squarefree nor prime power, i.e., k is in A126706. For example, 12 has quality Q but k = 1..11 do not.
The number 12 is in the sequence since it has quality Q, but neither 11 nor 13 do.
The number 44 is not in the sequence since 45 has quality Q.
The number 99 is not in the sequence because both 98 and 100 have quality Q, etc.
MATHEMATICA
Select[Select[Range[264], Nor[SquareFreeQ[#], PrimePowerQ[#]] &], NoneTrue[{# - 1, # + 1}, Nor[SquareFreeQ[#], PrimePowerQ[#]] &] &]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michael De Vlieger, Mar 24 2024
STATUS
approved