Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Where could I find a large amount of digits of pi? I have already calculated 3.14 billion using PiFast (works well under wine).

I don't care about slow download speeds.

share|improve this question
2  
Do you need it for some even remotely practical purpose, or just for ... ? I can't see the point, so I'm just curious. –  ldigas Jul 16 '09 at 3:17
2  
@Idigas: Don't you ever make pi? –  Nosredna Jul 16 '09 at 5:04
    
Soon's i can find the algorithm for calculating pi, i'll write something up to calculate as many as you want... –  RCIX Jul 16 '09 at 8:32
2  
Go ahead and try accepting a new answer to your question. The original accepted answer had a single link that no longer exists, so it has been deleted. Go ahead and flag the question if you have any questions for the moderators. –  Troggy Feb 10 '11 at 10:24

4 Answers 4

up vote 7 down vote accepted

I know you say you don't care, but I seriously suspect your cpu can calculate them faster than your network card is capable of downloading them.

Given the last digit and the current state of the calculator used to generate it, the next digit can be found in constant time. It doesn't get progressively harder like finding the next prime does.

share|improve this answer
    
Yes, but it is a lot of cpu time to dedicate, and I would rather dedicate some bandwidth rather than all that cpu time. –  PiPeep Jul 15 '09 at 21:12
    
@Joel: by the way, can you show a pointer to an algorithm for that? (Yeah, I know that's more like SO content, but since we're here...) –  R. Martinho Fernandes Jul 15 '09 at 21:16
    
    
The math is beyond me, but read way down in wikipedia and one of the series is said to "deliver 14 digits per term". –  Joel Coehoorn Jul 15 '09 at 21:35
    
Sorry, wrong link: numbers.computation.free.fr/Constants/PiProgram/algo.html, It was in frames –  PiPeep Jul 15 '09 at 21:40

Adding on to Joel's comment, SuperPi is one of the most popular tools for this. It's also used for stress testing.

share|improve this answer
    
PiFast is faster. –  PiPeep Dec 17 '09 at 21:27

On Ubuntu, you can sudo apt-get install pi

and then:

$ pi 100 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067

It calculates arbitrary precision given the number of digits to calculate.

share|improve this answer

You can download precalculated digits (up to ten trillion of 'em) in zipped chunks here: http://piworld.calico.jp/estart.html

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.