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.

A067559 Numbers n such that floor(Pi*n^2) is prime.

Original entry on oeis.org

1, 6, 17, 31, 34, 41, 45, 50, 51, 61, 69, 73, 74, 81, 103, 108, 111, 142, 148, 175, 192, 201, 202, 203, 232, 234, 273, 277, 281, 310, 319, 329, 342, 348, 349, 351, 378, 387, 416, 421, 428, 435, 459, 478, 486, 521, 526, 575, 593, 597, 603, 605, 623, 648, 661
Offset: 1

Views

Author

Joseph L. Pe, Jan 29 2002

Keywords

Examples

			Floor[Pi*6^2] = 113, a prime, so 6 is a term of the sequence.
		

Crossrefs

Cf. A062408.

Programs

  • Mathematica
    Select[Range[1, 10^3], PrimeQ[Floor[Pi * #^2]] &]
  • PARI
    is(n)=isprime(floor(Pi*n^2)) \\ Charles R Greathouse IV, May 22 2017