login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Harvey P. Dale, Table of n, a(n) for n = 1..100

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

Adjacent sequences:  A104908 A104909 A104910 * A104912 A104913 A104914

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 14:24 EDT 2020. Contains 333089 sequences. (Running on oeis4.)