OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
EXAMPLE
For p=13, 13^2+13+9=191; p=19, 19^2+19+9=389; p=43, 43^2+43+9=1901.
MATHEMATICA
Select[Prime[Range[500]], PrimeQ[#^2 + # + 9]&] (* Vincenzo Librandi, Apr 16 2013 *)
PROG
(Magma) [p: p in PrimesUpTo(10000) | IsPrime(p^2+p+9)];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 10 2010
STATUS
approved