login
Number of primes less than n*10^12.
21

%I #21 Apr 03 2023 10:36:09

%S 37607912018,73301896139,108340298703,142966208126,177291661649,

%T 211381427039,245277688804,279010070811,312600354108,346065536839,

%U 379418886337,412671294782,445831610611,478907544860,511905471132

%N Number of primes less than n*10^12.

%H Robert G. Wilson v, <a href="/A038821/b038821.txt">Table of n, a(n) for n = 1..10000</a>

%H Thomas R. Nicely, <a href="https://faculty.lynchburg.edu/~nicely/index.html">Some Results of Computational Research in Prime Numbers</a> [See local copy in A007053]

%H Tomás Oliveira e Silva, <a href="http://sweet.ua.pt/tos/primes.html">Tables of values of pi(x) and of pi2(x)</a>

%H Andrew R. Booker, <a href="https://t5k.org/nthprime/">The Nth Prime Page</a>

%t Table[ PrimePi[ n*10^12 ], {n, 1, 15}]

%o (PARI) a(n)=primepi(10^12*n) \\ _Charles R Greathouse IV_, Apr 29 2015

%Y Cf. A038801, A028505, A038812, A038813, A038814, A038815, A038816, A038817, A038818, A038819, A038820, A080122, A080123, A080124, A080125, A080126, A080127, A080128, A080129.

%K nonn

%O 1,1

%A _Jeff Burch_

%E Edited, corrected and extended by _Robert G. Wilson v_, Jan 29 2003