[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
OFFSET
1,2
COMMENTS
The sequence is apparently infinite.
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 A330589
KEYWORD
nonn
AUTHOR
Zak Seidov, Apr 16 2013
STATUS
approved