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
KEYWORD
nonn
AUTHOR
Cino Hilliard, Aug 22 2004
EXTENSIONS
More terms from Wesley Ivan Hurt, Jan 06 2024
STATUS
approved