Compute pi to base 12 using Python?

Dick Moores rdm at rcblue.com
Wed Apr 13 06:27:06 EDT 2005


Bengt Richter wrote at 03:19 4/13/2005:
>On Wed, 13 Apr 2005 02:06:11 -0700, Dick Moores <rdm at rcblue.com> wrote:
>
> >I need to figure out how to compute pi to base 12, to as many digits as
> >possible. I found this reference,
> ><http://mathworld.wolfram.com/Base.html>, but I really don't understand
> >it well enough. Could someone show me how to do what I need?
> >
> >Thanks,
> >
> >Dick Moores
> >rdm at rcblue.com
> >
>See if this is enough digits for homework? ;-)

This is not homework, nor am I a student, though I am trying to learn 
Python. I'm just trying to help an artist acquaintance who needs (I just 
learned) the first 3003 digits of pi to the base 12.

>Hint: Lambert Meertens. Tweak the algorithm you find ;-)

Sorry. Your hint is beyond me.

Dick Moores
rdm at rcblue.com





More information about the Python-list mailing list