[go: up one dir, main page]

login
A097427
Integer part of the area of circles with prime radii.
0
12, 28, 78, 153, 380, 530, 907, 1134, 1661, 2642, 3019, 4300, 5281, 5808, 6939, 8824, 10935, 11689, 14102, 15836, 16741, 19606, 21642, 24884, 29559, 32047, 33329, 35968, 37325, 40114, 50670, 53912, 58964, 60698, 69746, 71631, 77437, 83468, 87615, 94024, 100659
OFFSET
1,1
FORMULA
a(n) = floor(Pi*prime(n)^2). - Michel Marcus, Mar 11 2015
EXAMPLE
a(2) = floor(Pi*prime(2)^2) = floor(Pi*9) = 28.
MATHEMATICA
Table[Floor[Pi*Prime[n]^2], {n, 60}] (* Wesley Ivan Hurt, Jan 06 2024 *)
PROG
(PARI) f(n) = forprime(x=1, n, print1(floor(Pi*x^2)", "))
(Magma) [Floor(Pi(RealField(2*n))*NthPrime(n)^2): n in [1..80]]; // Vincenzo Librandi, Mar 11 2015
CROSSREFS
Cf. A000040.
Sequence in context: A248547 A164533 A034319 * A039366 A043189 A043969
KEYWORD
nonn
AUTHOR
Cino Hilliard, Aug 22 2004
EXTENSIONS
More terms from Wesley Ivan Hurt, Jan 06 2024
STATUS
approved