A282498 a(n) = nearest integer to Pi*prime(n).
6, 9, 16, 22, 35, 41, 53, 60, 72, 91, 97, 116, 129, 135, 148, 167, 185, 192, 210, 223, 229, 248, 261, 280, 305, 317, 324, 336, 342, 355, 399, 412, 430, 437, 468, 474, 493, 512, 525, 543, 562, 569, 600, 606, 619, 625, 663, 701, 713, 719, 732, 751, 757, 789, 807
Offset: 1
Keywords
Examples
a(13) = nearest integer to Pi*prime(13) = the nearest integer to (Pi*41) = 128.805298... = 129, so a(13) = 129.
Programs
-
Mathematica
Table[Round[Pi Prime@ n], {n, 55}] (* Michael De Vlieger, Feb 20 2017 *)
-
PARI
a(n) = round(Pi*prime(n)); \\ Michel Marcus, Feb 20 2017