Group Abstract Group Abstract

Message Boards Message Boards

1
|
9K Views
|
4 Replies
|
4 Total Likes
View groups...
Share
Share this post:

Avoid overflow for pandigital Sabey formula for calculation of e?

Posted 9 years ago

I want Mathematica to help computationally validate Richard Sabey’s pan-digital equation for e. The equation is:

(1+9^-4^6*7)^3^2^85

Just the part outside the parens makes the system overflow (i.e. 3^2^85).

Is it possible to modify the precision or use arbitrary precision to compute this equation which is supposedly a correct approximation of e to a trillion digits.

I would even be happy to validate it to Mathematica's maximum approximation, which I have apparently exceeded so far. Is this machine precision?

Thanks in advance for any assistance.

Ref: Incredible Formula - Numberphile

enter image description here

POSTED BY: Aeyoss Antelope
4 Replies

3^(2^85) > 2^(2>85), and that latter has 2^85 bits. Any computation attempting to deal with a number that big is going to need substantially more atoms than are available on this planet. So yes, of course this will overflow.

POSTED BY: Daniel Lichtblau
POSTED BY: Aeyoss Antelope

The point of the formula is to give something correct to more places than you can compute. To understand it rewrite 9^(-(4^(67))) as (3^2)^(-(4^(67))) = 3^(-(24^(67))). This is the same as 3^(-(2^85)). So you have an expression of the form

(1+1/n)^n

where n=3^(-(2^85)). To estimate the error between this and E, take logs and see how close we get to 1, then use that to get the multiplicative factor by which we might be off. So the log is of the form n*Log[1+1/n] with n again as above. Expand as a series, truncate at second order, this is n*(1/n-1/(2*n^2)+...) or 1-1/(2*n)+error where error<<1/n. Exponentiating shows our result is E*Exp[-1/(2*n)+error], now use what we know about n to show how close this comes to E.

POSTED BY: Daniel Lichtblau

Maybe this this helps why is overflow, but not solve your questions.

POSTED BY: Mariusz Iwaniuk
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard