OFFSET
1,1
COMMENTS
LINKS
Zak Seidov, Table of n, a(n) for n = 1..1000
EXAMPLE
23 is here because 6^2 - prime(6) = 36 - 13 = 23.
MATHEMATICA
Select[Table[k^2 - Prime[k], {k, 1000}], PrimeQ] (* T. D. Noe, Apr 14 2011 *)
PROG
(Magma) [ a: k in [0..10000] | IsPrime(a) where a is k^2-NthPrime(k) ]; // Vincenzo Librandi, Apr 14 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Apr 11 2011
STATUS
approved