login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A097426
Integer part of the circumference of circles with prime diameters.
0
6, 9, 15, 21, 34, 40, 53, 59, 72, 91, 97, 116, 128, 135, 147, 166, 185, 191, 210, 223, 229, 248, 260, 279, 304, 317, 323, 336, 342, 354, 398, 411, 430, 436, 468, 474, 493, 512, 524, 543, 562, 568, 600, 606, 618, 625, 662, 700, 713, 719, 731, 750, 757, 788, 807
OFFSET
1,1
FORMULA
Circumference = Pi*D.
EXAMPLE
If D = 11. floor(Pi*11) = 34, the fifth entry.
MAPLE
seq(floor(ithprime(i)*Pi), i=1..100); # Robert Israel, Feb 09 2015
MATHEMATICA
Table[Floor[Pi Prime[n]], {n, 50}] (* Waldemar Puszkarz, Feb 09 2015 *)
PROG
(PARI) f(n) = forprime(x=1, n, print1(floor(Pi*x)", "))
CROSSREFS
Sequence in context: A316047 A168544 A001748 * A075278 A316048 A102971
KEYWORD
nonn
AUTHOR
Cino Hilliard, Aug 22 2004
STATUS
approved