OFFSET
1,2
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Legendre's Conjecture
Wikipedia, Legendre's conjecture
MATHEMATICA
Select[Range[86], Ceiling[Sqrt[Prime[#]]]^2 > Prime[# + 1] &] (* Zak Seidov, Apr 16 2013 *)
PROG
(Haskell)
import Data.List (elemIndices)
a221056 n = a221056_list !! (n-1)
a221056_list = map (+ 1) $ elemIndices 0 a061265_list
(PARI) {for (n = 1, 86, ceil (sqrt (prime (n)))^2 > prime (n + 1) && print1 (n ", "))} \\ Zak Seidov, Apr 16 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Apr 15 2013
STATUS
approved