login
A105610
Numbers k such that both p1=2k+3 and p2=4k+5 are primes.
8
0, 2, 8, 14, 17, 38, 47, 68, 77, 98, 104, 113, 134, 152, 164, 167, 182, 188, 218, 248, 272, 287, 299, 302, 308, 329, 344, 362, 404, 413, 437, 467, 482, 497, 503, 533, 584, 617, 638, 647, 698, 713, 728, 764, 803, 812, 827, 878, 932, 1004, 1013, 1043, 1064, 1067
OFFSET
1,2
COMMENTS
p1 in A005382, p2 in A005383.
LINKS
MATHEMATICA
Select[Range[0, 1067], PrimeQ[2#+3]&&PrimeQ[4#+5]&] (* James C. McMahon, Jan 26 2024 *)
PROG
(Python)
from sympy import isprime
print([ k for k in range(0, 1068) if isprime(2*k+3) and isprime(4*k+5)])
# Karl-Heinz Hofmann, Jan 27 2024
CROSSREFS
Equals A123998 minus 1.
Sequence in context: A050619 A056715 A160556 * A324691 A117104 A082933
KEYWORD
nonn
AUTHOR
Zak Seidov, Apr 15 2005
STATUS
approved