OFFSET
1,1
LINKS
T. D. Noe, Table of n, a(n) for n=1..133 (no other n < 10^6)
EXAMPLE
a(1)=4 because in range 4^sqrt(2) = 7.10299... and (4+1)^sqrt(2) = 9.73852... there are no primes (8 and 9 aren't primes).
MATHEMATICA
a = {}; k = Sqrt[2]; Do[If[Length[Select[Range[Ceiling[n^k], Floor[(n + 1)^k]], PrimeQ]] == 0, AppendTo[a, n]], {n, 3000}]; a
Select[Range[850], PrimePi[(#+1)^Sqrt[2]]-PrimePi[#^Sqrt[2]]==0&] (* or *) SequencePosition[PrimePi[Range[850]^Sqrt[2]], {x_, x_}][[All, 1]] (* Harvey P. Dale, Jul 31 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Sep 11 2008
STATUS
approved