How to resolve the algorithm Ramanujan's constant step by step in the Pari/GP programming language

Published on 12 May 2024 09:40 PM

How to resolve the algorithm Ramanujan's constant step by step in the Pari/GP programming language

Table of Contents

Problem Statement

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.

Let's start with the solution: