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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A224699 a(n) = smallest k such that there is no square between prime(k) and prime(k+n). 1
1, 7, 12, 26, 49, 55, 106, 106, 163, 229, 229, 307, 343, 343, 394, 458, 655, 655, 655, 655, 758, 812, 1358, 1472, 1472, 1472, 1618, 1618, 1767, 2058, 2191, 2191, 2393, 2638, 2916, 3108, 3108, 3339, 3437, 3946, 4272, 4353, 4353, 5107, 5107, 5523, 5523, 5744 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

The sequence is apparently infinite.

LINKS

Zak Seidov, Table of n, a(n) for n = 1..2000

EXAMPLE

a(2000) = 19907242 because p = prime(19907242) = 371756971, q = prime(19907242 + 2000) = 371795461,  and between p anq q there is no square: (19281^2 = 371756961) < p and (19282^2 = 371795524) > q.

MATHEMATICA

m1 = 1; s = {}; Do[Do[If[Ceiling[Sqrt[Prime[m]]]^2 > Prime[m + k], AppendTo[s,  m]; m1 = m; Break[]], {m, m1, 10^6}], {k, 60}]; s

CROSSREFS

Cf. A221056.

Sequence in context: A093025 A104584 A223417 * A078575 A220036 A197229

Adjacent sequences:  A224696 A224697 A224698 * A224700 A224701 A224702

KEYWORD

nonn

AUTHOR

Zak Seidov, Apr 16 2013

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 April 23 09:35 EDT 2019. Contains 322385 sequences. (Running on oeis4.)