Ramanujan's constant

From Fōrmulæ wiki
Revision as of 19:01, 8 August 2019 by Admin (Talk | contribs) (Creation of page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page is the answer to the task Ramanujan's constant in the Rosetta Code.

Description (from Rosetta Code)

Calculate Ramanujan's constant (as described on the OEIS site) with at least 32 digits of precision, by the method of your choice.

Optionally, if using the 𝑒**(π*√x) approach, show that when evaluated with the last four Heegner numbers the result is almost an integer.

Solution

Using 100 precision digits:

RamanujansConstant01.png

Optional case

RamanujansConstant02.png