cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A247514 Numbers k such that 2*floor(sqrt(prime(k))) = floor(2*sqrt(prime(k))).

Original entry on oeis.org

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

Views

Author

Reinhard Zumkeller, Sep 20 2014

Keywords

Comments

A117767(a(n)) = A247485(a(n)); complement of A247515.

Crossrefs

Programs

  • Haskell
    a247514 n = a247514_list !! (n-1)
    a247514_list = filter (\x -> a117767 x == a247485 x) [1..]
    
  • Mathematica
    A247514Q[k_]:=With[{r=Sqrt[Prime[k]]},2Floor[r]==Floor[2r]];
    Select[Range[200],A247514Q] (* Paolo Xausa, Oct 23 2023 *)
  • PARI
    isok(k) = my(p=prime(k)); 2*sqrtint(p) == sqrtint(4*p); \\ Michel Marcus, Apr 29 2023