OFFSET
1,2
MATHEMATICA
Select[Range[100], PrimeQ[6 # - 1] || PrimeQ[6 # + 1] &]
PROG
(PARI) isok(k) = isprime(6*k-1) || isprime(6*k+1); \\ Michel Marcus, Oct 31 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michel Eduardo Beleza Yamagishi, Oct 31 2024
STATUS
approved