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

A141438
Primes p such that p+4 is prime and (p+5)/6 is composite.
0
19, 43, 67, 79, 103, 127, 163, 193, 223, 229, 307, 379, 439, 457, 463, 487, 499, 643, 739, 769, 823, 853, 859, 877, 883, 907, 967, 1009, 1087, 1093, 1213, 1279, 1297, 1303, 1423, 1447, 1483, 1489, 1549, 1567, 1579, 1597, 1663, 1783, 1867, 1993, 1999, 2083, 2137, 2203, 2239, 2347, 2389, 2437, 2473, 2539, 2617, 2659, 2683, 2707, 2749, 2833, 2857
OFFSET
1,1
MAPLE
a:=[];
for n from 1 to 420 do
p:=ithprime(n); p1:=p+4; p2:=(p+5)/6;
if isprime(p1) and whattype(p2)=integer and not isprime(p2) then a:=[op(a), p]; fi;
od:
a; # N. J. A. Sloane, Mar 09 2024
CROSSREFS
Sequence in context: A238676 A087779 A106950 * A350051 A095103 A094843
KEYWORD
nonn
AUTHOR
EXTENSIONS
Entry corrected by the combined efforts of Bill McEachen, R. J. Mathar, Jon E. Schoenfield, Alois P. Heinz, and N. J. A. Sloane, Mar 09 2024
STATUS
approved