OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
For n=5, 19*5 + 8 = 103;
for n=269, 19*269 + 8 = 5119.
MAPLE
a := proc (n) if isprime(n) = true and isprime(19*n+8) = true then n else end if end proc: seq(a(n), n = 1 .. 2300); # Emeric Deutsch, Jan 27 2009
MATHEMATICA
Select[Prime[Range[400]], PrimeQ[#] &&PrimeQ[19#+8] &] (* Vincenzo Librandi, Aug 30 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(2500)|IsPrime(19*p+8)] // Vincenzo Librandi, Aug 30 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 15 2009
EXTENSIONS
Extended by Emeric Deutsch, Jan 27 2009
STATUS
approved