login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A145290 Numbers n such that prime[(n + 1)^2] - prime[n^2] is a perfect square. 1
2, 30, 32, 180, 269, 820, 1282, 1403, 2102, 2152, 2344, 2616, 4459, 6329, 6604, 7325, 7893, 9988, 10270, 10441, 10662, 11700, 11740, 11846, 12279, 18754, 18927, 23781, 27096, 27294, 27531, 31005, 33616, 36374, 38266, 43557, 43680, 44263, 45945 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

n such that A011757(n + 1) - A011757(n) is a perfect square

LINKS

Table of n, a(n) for n=1..39.

EXAMPLE

n = 2, prime[(n + 1)^2] - prime[n^2]=23 - 7 = 16 = 4^2; n = 30, prime[(n + 1)^2] - prime[n^2]=7573 - 6997 = 576 = 24^2

MATHEMATICA

Do[If[IntegerQ[Sqrt[Prime[(i + 1)^2] - Prime[i^2]]], Print[i]], {i, 1, 20000}]

CROSSREFS

A011757 prime(n^2)

Sequence in context: A071056 A075716 A022377 * A127026 A105962 A113695

Adjacent sequences:  A145287 A145288 A145289 * A145291 A145292 A145293

KEYWORD

nonn

AUTHOR

Zak Seidov, Oct 06 2008

EXTENSIONS

a(28)-a(39) from Donovan Johnson, Sep 16 2009

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 August 18 13:12 EDT 2019. Contains 326100 sequences. (Running on oeis4.)