OFFSET
1,1
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[250], ! PrimeQ[6# - 1] && PrimeQ[6# + 1] &] (* Ray Chandler, Aug 22 2006 *)
PROG
(PARI) for(n=1, 250, if(!isprime(6*n-1) && isprime(6*n+1), print1(n", "))) \\ G. C. Greubel, Feb 20 2019
(Magma) [n: n in [1..250] | not IsPrime(6*n-1) and IsPrime(6*n+1)]; // G. C. Greubel, Feb 20 2019
(Sage)[n for n in (1..250) if not is_prime(6*n-1) and is_prime(6*n+1)] # G. C. Greubel, Feb 20 2019
(GAP) Filtered([1..250], k-> not IsPrime(6*k-1) and IsPrime(6*k+1)) # G. C. Greubel, Feb 20 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Lekraj Beedassy, Aug 20 2006
EXTENSIONS
Extended by Ray Chandler, Aug 22 2006
STATUS
approved