login
A224796
Pi*n rounded to the nearest integer is prime.
2
1, 4, 6, 10, 13, 15, 17, 25, 31, 32, 34, 36, 48, 50, 52, 53, 55, 57, 71, 73, 76, 80, 90, 99, 101, 111, 122, 134, 141, 143, 155, 160, 162, 174, 181, 187, 195, 197, 201, 204, 206, 208, 220, 223, 229, 239, 241, 246, 258, 262, 264, 267, 279, 281, 290, 309, 311, 313
OFFSET
1,2
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
Chris Caldwell and G. L. Honaker, Jr., Prime curio for 15
EXAMPLE
a(3)=6 because Pi*6 = 18.849559..., which rounds to 19 (a prime number).
MATHEMATICA
Select[Range[350], PrimeQ[Round[Pi #]]&] (* Harvey P. Dale, Oct 10 2024 *)
PROG
(PARI) is(n)=isprime(round(Pi*n)) \\ Charles R Greathouse IV, Apr 18 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
G. L. Honaker, Jr., Apr 18 2013
EXTENSIONS
Additional terms from Mike Keith (mikek314(at)gmail.com), Apr 18 2013
STATUS
approved