login
A123985
Numbers n for which 12n+1, 12n+5, 12n+7 and 12n+11 are primes.
4
1, 3, 8, 38, 71, 73, 108, 166, 288, 376, 656, 871, 1156, 1338, 1618, 1751, 1776, 1856, 1921, 1963, 2311, 2418, 2801, 3501, 3538, 3648, 3818, 4266, 4541, 4611, 4651, 5076, 6723, 6751, 7388, 7533, 7621, 7698, 7738, 7796, 8083, 8193, 9073, 9243, 9418, 9516
OFFSET
1,2
MATHEMATICA
Select[Range[10^4], And @@ PrimeQ /@ ({1, 5, 7, 11} + 12#) &] (* Ray Chandler, Nov 22 2006 *)
PROG
(PARI) P=isprime;
for(n=0, 10^5, if(P(12*n+1) && P(12*n+5) && P(12*n+7) && P(12*n+11), print1(n", ")));
\\ Joerg Arndt, Jul 11 2014
CROSSREFS
Cf. A110801.
Sequence in context: A024039 A147523 A123981 * A219953 A286075 A089066
KEYWORD
nonn
AUTHOR
Artur Jasinski, Oct 30 2006
STATUS
approved