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”).

A062767
Numbers k such that 3k+1, 3k+5 and 3k+7 are all prime.
1
2, 4, 12, 22, 32, 34, 64, 74, 92, 102, 152, 204, 274, 284, 292, 362, 432, 474, 482, 494, 554, 564, 594, 622, 624, 664, 694, 712, 792, 894, 902, 932, 1054, 1084, 1152, 1154, 1282, 1384, 1504, 1594, 1742, 1804, 1812, 1882, 1884, 1912, 2182, 2274, 2402, 2584
OFFSET
1,1
LINKS
MATHEMATICA
Select[Range[2600], PrimeQ[3#+1] && PrimeQ[3#+5] && PrimeQ[3#+7] &] (* Stefano Spezia, Sep 23 2024 *)
PROG
(PARI) j=[]; for(n=1, 10000, if(isprime(3*n+1) && isprime(3*n+5) && isprime(3*n+7), j=concat(j, n))); j
CROSSREFS
Sequence in context: A375742 A343865 A376006 * A173650 A303030 A291404
KEYWORD
nonn
AUTHOR
Jason Earls, Jul 17 2001
STATUS
approved