OFFSET
1,2
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
MAPLE
seq((2*n-1)$(ithprime(2*n)-ithprime(2*n-1)), n=1..30); # Robert Israel, Feb 13 2019
MATHEMATICA
Select[PrimePi[Range[300]], OddQ] (* Harvey P. Dale, Dec 24 2014 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Giovanni Teofilatto, May 11 2010
EXTENSIONS
Erroneous formula removed by R. J. Mathar, May 14 2010
STATUS
approved