login
A247514
Numbers k such that 2*floor(sqrt(prime(k))) = floor(2*sqrt(prime(k))).
4
1, 3, 5, 7, 8, 10, 12, 13, 16, 19, 20, 23, 24, 26, 27, 28, 29, 31, 32, 35, 36, 40, 41, 42, 45, 46, 49, 50, 51, 52, 55, 56, 57, 58, 62, 67, 68, 73, 74, 75, 79, 80, 81, 86, 87, 88, 89, 93, 94, 95, 96, 100, 101, 106, 107, 108, 109, 115, 116, 117, 118, 123, 124
OFFSET
1,2
COMMENTS
A117767(a(n)) = A247485(a(n)); complement of A247515.
LINKS
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