login
A104911
Numbers n such that n+prime(n) is the square of a prime.
1
12, 86, 230, 1170, 2660, 2772, 6572, 8858, 9590, 16332, 17708, 54540, 63890, 64908, 82830, 98132, 104726, 119298, 136502, 152198, 177918, 187040, 234650, 241682, 253118, 263930, 278970, 376680, 412440, 456110, 469034, 471642, 490650, 524888
OFFSET
1,1
LINKS
MATHEMATICA
Select[Range[525000], PrimeQ[Sqrt[#+Prime[#]]]&] (* Harvey P. Dale, Jan 28 2020 *)
PROG
(PARI) isok(n) = s = n+prime(n); issquare(s) && isprime(sqrtint(s)); \\ Michel Marcus, Oct 05 2013
CROSSREFS
Sequence in context: A118017 A225785 A098206 * A283119 A091119 A243248
KEYWORD
nonn
AUTHOR
Zak Seidov, Apr 25 2005
EXTENSIONS
a(12)-a(34) from Donovan Johnson, Jul 02 2010
STATUS
approved