OFFSET
1,2
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
MATHEMATICA
A247514Q[k_]:=With[{r=Sqrt[Prime[k]]}, 2Floor[r]==Floor[2r]];
Select[Range[200], A247514Q] (* Paolo Xausa, Oct 23 2023 *)
PROG
(Haskell)
a247514 n = a247514_list !! (n-1)
a247514_list = filter (\x -> a117767 x == a247485 x) [1..]
(PARI) isok(k) = my(p=prime(k)); 2*sqrtint(p) == sqrtint(4*p); \\ Michel Marcus, Apr 29 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Sep 20 2014
STATUS
approved