login
A157977
Primes p such that 20*p + 19 is also prime.
3
2, 3, 11, 17, 23, 29, 41, 71, 101, 149, 167, 233, 239, 251, 263, 269, 281, 293, 317, 347, 353, 401, 449, 461, 491, 503, 557, 563, 569, 647, 683, 743, 797, 857, 941, 947, 953, 977, 1019, 1031, 1091, 1103, 1151, 1163, 1193, 1217, 1283, 1289, 1319, 1361, 1373
OFFSET
1,1
LINKS
MATHEMATICA
q=19; lst={}; Do[p=Prime[n]; If[PrimeQ[(q+1)*p+q], AppendTo[lst, p]], {n, 6!}]; lst
Select[Prime[Range[250]], PrimeQ[20#+19]&] (* Harvey P. Dale, Jul 04 2011 *)
PROG
(Magma) [n: n in [0..2000] | IsPrime(n) and IsPrime(20*n + 19)]; // Vincenzo Librandi, Feb 03 2014
KEYWORD
nonn,easy
AUTHOR
STATUS
approved