OFFSET
1,1
COMMENTS
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 numbers k = 1..11 do not.
Numbers k in this sequence have quality Q and are such that either (k-1) or (k+1) also have quality Q. Hence k also appears in A369276, but not in A369516.
Numbers k such that k mod 12 = 1 or k mod 12 = 5 imply (k-1) in A126706, since 4 divides (k-1).
Numbers k such that k mod 12 = 7 or k mod 12 = 11 imply (k+1) in A126706, since 4 divides (k+1).
Proper subset of A367455.
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Flatten[Array[6 # + {1, 5} &, 360]], Nor[PrimePowerQ[#], SquareFreeQ[#]] &]
PROG
(PARI) isok(k) = !issquarefree(k) && !isprimepower(k) && (gcd(k, 6)==1); \\ Michel Marcus, Mar 25 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michael De Vlieger, Mar 24 2024
STATUS
approved