IUBio

Decimal digits of pi

David Gileff gileff at kits.sfu.ca
Wed Mar 31 14:21:37 EST 1993


Oliver at ugr.es (JL Oliver) writes:

>Dear Netters,

>Please, could someone point me to a source (ftp accesible, if possible) for
>an algorithm generating the series of decimal digits of the number pi? 
>I need this random series as a reference to contrast it with those obtained 
>by means of 'pseudorandom' number generators. Thanks,

Pi can be generated by the series...

4/1 - 4/3 + 4/5 - 4/7 + 4/9 -...

This is not very efficient, but it does the job.  That may not be what you
want, of course.

-- 
David Gileff (gileff at whistler.sfu.ca)
"Under Capitalism, person exploits person.  
 Under Communism, the reverse is true." (Russian joke)




More information about the Bio-soft mailing list

Send comments to us at biosci-help [At] net.bio.net