![]() |
||
Mathematics Magazine for Grades 1-12 |
||
|
||
Formulas
for |
||
Sebastian
Martin Ruiz and Jonathan Sondow 1. THE FORMULAS: In [3], [4] the first author gave a formula for
the to give a complete
proof of the slightly modified formula (1) where (2) After the proof, we indicate various ways to modify
and implement the formulas so that they operate in times 2. PROOF. For (3) denote the number of divisors of (4) which
holds since the quantity in parentheses is 1 or 0 according as Let
F be the characteristic function of the set of prime numbers (5) From (3), we have Since (6) Using
(5), we write the prime-counting function (7) with the convention that any sum In
order to derive formula (1) for Lemma 1. For
(8) (9) Proof:
Rosser and Schoenfeld [1] proved that (10) (11) From (10), we have
To
prove (9) for and note that (11) implies (9) for For
The desired formula for the 3. IMPROVEMENTS. As they stand, the formulas for operate in times and We can also improve the computation
times (but not the of
This “sieving” cuts
computation time by a factor of We thank P. Sebah for discussions on
the bounds, C. Rivera for the square root optimization, and J. McCranie for the quotient acceleration. REFERENCES 1. J. B. Rosser and L. Schoenfeld, Approximate
formulas for some functions of prime numbers. Ill. J. Math. 6 (1962)
64-94. 2. S. M. Ruiz, A functional recurrence to
obtain the prime numbers using the Smarandache Prime Function, Smarandache Notions Journal 11 (2000) 56. 3. S. M. Ruiz, The general term of the prime
number sequence and the Smarandache Prime Function. Smarandache Notions Journal 11
(2000) 59. 4. S. M. Ruiz, Applications of Smarandache Functions and
Prime and Coprime Functions, American Research Press, Rehoboth, 2002. 5. P. Sebah,
private communications, October- November, 2002. Avda. de Regla, 43
Chipiona 11550 Spain 209 West 97th St. New York, NY 10025
|
||