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.

A059792 Numbers k such that floor(Pi^k) is prime.

Original entry on oeis.org

1, 3, 4, 12, 73, 317, 2728, 6826, 7683, 7950, 14417, 44436, 63698
Offset: 1

Views

Author

Naohiro Nomoto, Feb 22 2001

Keywords

Examples

			Pi^3 = 31.0062766...; floor(Pi^3) = 31 is prime, hence 3 is a term.
		

Crossrefs

Programs

  • Mathematica
    Do[ If[ PrimeQ[ Floor[ Pi^n ] ], Print[n] ], {n, 0, 4000} ]
    $MaxExtraPrecision = 10^6; Do[k = Floor[Pi^n]; If[PrimeQ[k], Print[n]], {n, 1, 15000}] (* Ryan Propper, Oct 21 2005 *)

Extensions

More terms from Vladeta Jovovic, Feb 24 2001
One more term from Robert G. Wilson v, May 09 2001
a(8)-a(11) from Ryan Propper, Oct 21 2005
a(12)-a(13) from Donovan Johnson, Feb 05 2008