OFFSET
1,2
FORMULA
EXAMPLE
a(2) = 8 as pi(24) = 9 and pi(2) = 1.
MAPLE
with(numtheory): 0, seq(pi((2*n)!)-pi(n!), n=2..5); # Emeric Deutsch, Jul 31 2005
MATHEMATICA
a[n_] := PrimePi[(2n)! - 1] - PrimePi[n! ]; Table[a[n], {n, 1, 8}] (* Ryan Propper, Sep 11 2005 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Amarnath Murthy, Oct 21 2002
EXTENSIONS
Corrected and extended by Emeric Deutsch, Jul 31 2005
a(7)-a(8) from Ryan Propper, Sep 11 2005
a(9) from Donovan Johnson, Mar 10 2010
a(10)-a(12) from Amiram Eldar, Jun 11 2024
STATUS
approved