|
Search: id:A111499
|
|
|
| A111499 |
|
Floor of 10^n/Pi(10^n) - 1. |
|
+0 1
|
|
| 1, 3, 4, 7, 9, 11, 14, 16, 18, 20, 23, 25, 27, 30, 32, 34, 37, 39, 41, 44, 46, 48, 50
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
10^n/Pi(10^n) - 1) is the ratio of the number of composite numbers less than 10^n divided by the number of prime numbers less than 10^n. Conjecture: Except for the first 2 terms, the difference between successive terms is 2 or 3.
|
|
LINKS
|
XavierGourdon, Numbers, Constants and computations.
|
|
FORMULA
|
Pi(n) is the number of primes less than or equal to n.
|
|
MATHEMATICA
|
f[n_] := Floor[10^n/PrimePi[10^n] - 1]; Table[ f[n], {n, 14}] (* Robert G. Wilson v *)
|
|
PROGRAM
|
(PARI) PiRatio(m, n) = \ Good only up to 10^9 { local(x, p1, p2, a, b); for(x=m, n, p1=10^x; a=floor(p1/primepi(p1)-1); print1(a, ", ") ) }
|
|
CROSSREFS
|
Sequence in context: A019990 A047544 A035267 this_sequence A077025 A032729 A035270
Adjacent sequences: A111496 A111497 A111498 this_sequence A111500 A111501 A111502
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Cino Hilliard (hillcino368(AT)gmail.com), Nov 16 2005
|
|
EXTENSIONS
|
a(23) from Robert G. Wilson v (rgwv(at)rgwv.com), Nov 18 2005
|
|
|
Search completed in 0.002 seconds
|