login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 09:04 EDT 2024. Contains 371240 sequences. (Running on oeis4.)