login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A121762
Single (or isolated or non-twin) primes of form 6n-1.
3
23, 47, 53, 83, 89, 113, 131, 167, 173, 233, 251, 257, 263, 293, 317, 353, 359, 383, 389, 401, 443, 449, 467, 479, 491, 503, 509, 557, 563, 587, 593, 647, 653, 677, 683, 701, 719, 743, 761, 773, 797, 839, 863, 887, 911, 929, 941, 947, 953, 971, 977, 983, 1013
OFFSET
1,1
COMMENTS
Subsequence of A007528. - Michel Marcus, Apr 26 2015
MATHEMATICA
Select[Table[6n - 1, {n, 200}], PrimeQ[ # ] && ! PrimeQ[ # + 2] &] (* Ray Chandler, Aug 22 2006 *)
PROG
(PARI) is(n)=n%6==5 && isprime(n) && !isprime(n+2) \\ Charles R Greathouse IV, Apr 04 2016
(Magma) [n: n in [1..1050] | (n mod 6 eq 5) and not IsPrime(n+2) and IsPrime(n)]; // G. C. Greubel, Feb 26 2019
(Sage) [n for n in (1..1050) if mod(n, 6)==5 and not is_prime(n+2) and is_prime(n)] # G. C. Greubel, Feb 26 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Lekraj Beedassy, Aug 20 2006
EXTENSIONS
Extended by Ray Chandler, Aug 22 2006
STATUS
approved