On Wed, Aug 15, 2012 at 5:10 PM, Eric Kangas <eric.c.kan...@gmail.com> wrote:
> Hi,
>
> I am trying to figure out a way to call up the sequence for pi to a very
> large number ie. centillion, googleplex, even Graham's number. However sage
> crashes around 10 million decimal places.

Crashing how? Out of memory?

> So I am wanting to figure out a
> way to call up this sequence in sections (mth to nth decimal place) rather
> then having to start the sequence from the beginning.

As far as I know, there's no way to do that in base 10. (For base 2^n,
of course, there's the Bailey-Borwein-Plouffe formula.)

> Here is the coding I am working on right now.
>
> a = 10000000
>
> p = list(str(n(pi, digits = a)))
>
> p.remove('.')
>
> p = [int(i) for i in p]
>
>
> --
> --
> To post to this group, send email to sage-support@googlegroups.com
> To unsubscribe from this group, send email to
> sage-support+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>
>
>

-- 
-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org



Reply via email to