#5130: [with patch; needs work] create a prime_pi function that doesn't just
compute len(prime_range(n))
---------------------------+------------------------------------------------
 Reporter:  was            |        Owner:  was     
     Type:  defect         |       Status:  new     
 Priority:  major          |    Milestone:  sage-3.3
Component:  number theory  |   Resolution:          
 Keywords:                 |  
---------------------------+------------------------------------------------
Comment (by rohana):

 The algorithm used is Legendre's formula, it has been around for quite a
 while, so there are many references on it. I used as a reference Hans
 Riesel's Prime "Numbers and Computer Methods for Factorization".

 --Andrew

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5130#comment:5>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to