login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A227794 Primes of the form: floor(Pi*n^2). 1
3, 113, 907, 3019, 3631, 5281, 6361, 7853, 8171, 11689, 14957, 16741, 17203, 20611, 33329, 36643, 38707, 63347, 68813, 96211, 115811, 126923, 128189, 129461, 169093, 172021, 234139, 241051, 248063, 301907, 319691, 340049, 367453, 380459, 382649, 387047, 448883 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

K. D. Bajpai, Table of n, a(n) for n = 1..1500

EXAMPLE

a(2)=113: Pi*6^2 = 113.09 and 113 is prime.

a(3)=907: Pi*17^2 = 907.92 and 907 is prime.

MAPLE

KD:= proc() local a; a:=floor(evalf( Pi*n^2));  if isprime(a) then   RETURN(a): fi; end: seq(KD(), n=1..1000);

MATHEMATICA

Select[Floor[Pi*Range[400]^2], PrimeQ] (* Harvey P. Dale, Dec 18 2016 *)

PROG

(PARI) is(n)=my(r=sqrtint((n+1)\Pi)); Pi*r^2>n && isprime(n) \\ Charles R Greathouse IV, Sep 23 2013

CROSSREFS

Cf. A066643 (floor(Pi*n^2)), A067559 (n that produce primes).

Sequence in context: A249164 A080174 A065117 * A225334 A240441 A229929

Adjacent sequences:  A227791 A227792 A227793 * A227795 A227796 A227797

KEYWORD

nonn

AUTHOR

K. D. Bajpai, Sep 23 2013

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 15 22:25 EDT 2019. Contains 328038 sequences. (Running on oeis4.)