Re: [sage-devel] Re: paralizing algorithms

2010-11-21 Thread William Stein
On Sat, Nov 20, 2010 at 9:51 PM, rjf wrote: > > > On Nov 20, 4:49 pm, kstueve wrote: > >> >> One of the reasons making the fastest possible pi(x) available is >> important is because of its relationship to the Riemann hypothesis.  A >> proof of the Riemann hypothesis would not only provide immens

[sage-devel] Re: paralizing algorithms

2010-11-20 Thread rjf
On Nov 20, 4:49 pm, kstueve wrote: > > One of the reasons making the fastest possible pi(x) available is > important is because of its relationship to the Riemann hypothesis.  A > proof of the Riemann hypothesis would not only provide immense insight > into areas of mathematics as diverse as ar

[sage-devel] Re: paralizing algorithms

2010-11-20 Thread kstueve
Because I have worked with prime counting and Sage, my input belongs in this discussion. For the record, there are three families of prime counting algorithms- combinatorial, analytical, and table-based. The combinatorial family includes Legendre's formula as well as the Meissel-Lehmer-Lagarias-M

Re: [sage-devel] Re: paralizing algorithms

2010-11-09 Thread R. Andrew Ohana
Well, I'm a couple days late to the conversation, but a couple comments: If Nathan doesn't have a background knowledge in math, then I think prime counting/enumeration are very good projects, especially if he wants to look at parallizable algorithms. The current prime_pi in sage was my first real

[sage-devel] Re: paralizing algorithms

2010-11-08 Thread Jason Grout
On 11/7/10 4:03 AM, David Kirkby wrote: On 5 November 2010 18:48, nekopczynski wrote: Hello Everyone, I am currently a senior computer science student with a strong math background. One of my professors, Dana Ernst, also a member here, recommended that I post here. I am looking for a senior p

[sage-devel] Re: paralizing algorithms

2010-11-07 Thread rjf
On Nov 7, 1:24 am, David Kirkby wrote: > On 7 November 2010 09:22, David Kirkby wrote: > > > As a matter of interest, have many hours have spent using Sage? > > Oops, that was supposed to say: > >  "As a matter of interest, how many hours have you spent using Sage?" > > Dave To the nearest hou

[sage-devel] Re: paralizing algorithms

2010-11-07 Thread D.C. Ernst
On Nov 6, 8:37 pm, William Stein wrote: > > I'm not sure if the student asking was an undergrad or postgrad. We tend to > > use the terms different here in the UK to the US. > > > The original poster said: > > > "I am currently a senior computer science student with a strong math > > background.

Re: [sage-devel] Re: paralizing algorithms

2010-11-07 Thread Martin Albrecht
On Saturday 06 November 2010, rjf wrote: > Why not look around at the state of the art > in using computers to do something that might be of some benefit. > Math doesn't have to be useless. > > You can look at what other people, especially computer scientists, > have been trying to do and how they

Re: [sage-devel] Re: paralizing algorithms

2010-11-07 Thread David Kirkby
On 7 November 2010 09:22, David Kirkby wrote: > As a matter of interest, have many hours have spent using Sage? Oops, that was supposed to say: "As a matter of interest, how many hours have you spent using Sage?" Dave -- To post to this group, send an email to sage-devel@googlegroups.com To

Re: [sage-devel] Re: paralizing algorithms

2010-11-07 Thread David Kirkby
On 7 November 2010 03:51, rjf wrote: > > > On Nov 6, 5:06 pm, "Dr. David Kirkby" wrote: >> On 11/ 6/10 10:25 PM, William Stein wrote: >> >> > I think it would be wonderful to have a fast implementation of >> > computing the number primes up to x, which is freely available, >> > especially given t

[sage-devel] Re: paralizing algorithms

2010-11-06 Thread rjf
On Nov 6, 5:06 pm, "Dr. David Kirkby" wrote: > On 11/ 6/10 10:25 PM, William Stein wrote: > > > I think it would be wonderful to have a fast implementation of > > computing the number primes up to x, which is freely available, > > especially given the central role that the Riemann Hypothesis (wh

[sage-devel] Re: paralizing algorithms

2010-11-06 Thread Jason Grout
On 11/6/10 8:37 PM, William Stein wrote: On Sat, Nov 6, 2010 at 5:06 PM, Dr. David Kirkby wrote: On 11/ 6/10 10:25 PM, William Stein wrote: I think it would be wonderful to have a fast implementation of computing the number primes up to x, which is freely available, especially given the cent

Re: [sage-devel] Re: paralizing algorithms

2010-11-06 Thread William Stein
On Sat, Nov 6, 2010 at 5:06 PM, Dr. David Kirkby wrote: > On 11/ 6/10 10:25 PM, William Stein wrote: > >> I think it would be wonderful to have a fast implementation of >> computing the number primes up to x, which is freely available, >> especially given the central role that the Riemann Hypothes

Re: [sage-devel] Re: paralizing algorithms

2010-11-06 Thread Dr. David Kirkby
On 11/ 6/10 10:25 PM, William Stein wrote: I think it would be wonderful to have a fast implementation of computing the number primes up to x, which is freely available, especially given the central role that the Riemann Hypothesis (which is a statement about pi(x)) has in mathematics. It's sad

Re: [sage-devel] Re: paralizing algorithms

2010-11-06 Thread William Stein
On Sat, Nov 6, 2010 at 11:05 AM, David Kirkby wrote: > On 6 November 2010 10:37, Bill Hart wrote: >> David, do you mean compute prime_pi up to some huge bound (by doing >> sieving in parallel), then make a giant table with "waypoints" which >> Sage refers to. > > The magic code apepars to be the

[sage-devel] Re: paralizing algorithms

2010-11-06 Thread rjf
Why not look around at the state of the art in using computers to do something that might be of some benefit. Math doesn't have to be useless. You can look at what other people, especially computer scientists, have been trying to do and how they are approaching parallelism. Here's a place you can

Re: [sage-devel] Re: paralizing algorithms

2010-11-06 Thread David Kirkby
On 6 November 2010 10:37, Bill Hart wrote: > David, do you mean compute prime_pi up to some huge bound (by doing > sieving in parallel), then make a giant table with "waypoints" which > Sage refers to. The magic code apepars to be the "Meissel-Lehmer-Lagarias-Miller-Odlyzko algorithm" , which I t

[sage-devel] Re: paralizing algorithms

2010-11-06 Thread D.C. Ernst
Having talked to Nathan briefly, I think that he may be interested in potentially improving already existing algorithms. This is a bit beyond my scope of knowledge, so I suggested that he contact this list. On Nov 5, 2:48 pm, nekopczynski wrote: > Hello Everyone, > I am currently a senior comput

[sage-devel] Re: paralizing algorithms

2010-11-06 Thread Bill Hart
David, do you mean compute prime_pi up to some huge bound (by doing sieving in parallel), then make a giant table with "waypoints" which Sage refers to. If that's what you are referring to, then yeah I guess you could get a project out of that if it hasn't already been done. If you were a strong p