Skip to main content
QUICK REVIEW

[Paper Review] The Ramanujan Machine: Automatically Generated Conjectures on Fundamental Constants

Gal Raayoni, Gottlieb, Shahar|arXiv (Cornell University)|Jun 29, 2019
Advanced Mathematical IdentitiesMathematics65 references20 citations
TL;DR

This paper introduces the Ramanujan Machine, a computational framework that uses algorithms to automatically generate conjectures for fundamental mathematical constants like π, e, and ζ(3) in the form of continued fractions. By leveraging a Meet-In-The-Middle and Gradient Descent approach tailored to polynomial continued fractions, the method discovers dozens of new identities, including previously unknown representations of π and e, some of which are later proven using hypergeometric function identities.

ABSTRACT

Fundamental mathematical constants like $e$ and $π$ are ubiquitous in diverse fields of science, from abstract mathematics to physics, biology and chemistry. For centuries, new formulas relating fundamental constants have been scarce and usually discovered sporadically. Here we propose a novel and systematic approach that leverages algorithms for deriving mathematical formulas for fundamental constants and help reveal their underlying structure. Our algorithms find dozens of well-known as well as previously unknown continued fraction representations of $π$, $e$, Catalan's constant, and values of the Riemann zeta function. Two example conjectures found by our algorithm and so far unproven are: \begin{equation*} \frac{24}{π^2} = 2 + 7\cdot 0\cdot 1+ \frac{8\cdot1^4}{2 + 7\cdot 1\cdot 2 + \frac{8\cdot2^4}{2 + 7\cdot 2\cdot 3 + \frac{8\cdot3^4}{2 + 7\cdot 3\cdot 4 + \frac{8\cdot4^4}{..}}}} \quad\quad,\quad\quad \frac{8}{7 ζ(3)} = 1\cdot 1 - \frac{1^6}{3\cdot 7 - \frac{2^6}{5\cdot 19 - \frac{3^6}{7\cdot 37 - \frac{4^6}{..}}}} \end{equation*} We present two algorithms that proved useful in finding conjectures: a Meet-In-The-Middle (MITM) algorithm and a Gradient Descent (GD) tailored to the recurrent structure of continued fractions. Both algorithms are based on matching numerical values and thus they conjecture formulas without providing proofs and without requiring prior knowledge on any underlying mathematical structure. This approach is especially attractive for constants for which no mathematical structure is known, as it reverses the conventional approach of sequential logic in formal proofs. Instead, our work supports a different approach for research: algorithms utilizing numerical data to unveil mathematical structures, thus trying to play the role of intuition of great mathematicians of the past, providing leads to new mathematical research.

Motivation & Objective

  • To develop a systematic, algorithmic approach for discovering new mathematical formulas involving fundamental constants, which have traditionally been found only through rare mathematical insight.
  • To address the scarcity of new formulas for fundamental constants like π, e, and Catalan’s constant by automating the discovery process using numerical data matching.
  • To reverse the traditional proof-first approach by using computational algorithms to generate conjectures that can then be proven, emulating the intuitive discovery process of historical mathematicians like Ramanujan.
  • To explore the potential of machine learning and numerical computation in uncovering hidden mathematical structures in universal constants.
  • To provide a publicly accessible platform where researchers can explore and verify newly generated conjectures on fundamental constants.

Proposed method

  • The method employs a variant of the Meet-In-The-Middle (MITM) algorithm to efficiently search for continued fraction identities by matching numerical values of constants with candidate expressions.
  • A custom Gradient Descent (GD) algorithm is used to optimize the parameters of polynomial continued fractions (PCFs), exploiting their recurrent structure to improve convergence and accuracy.
  • The algorithms match high-precision numerical values of fundamental constants against candidate PCF expressions without requiring prior knowledge of underlying mathematical structure.
  • The search is constrained to integer polynomial coefficients in both partial numerators and denominators to ensure computational feasibility and aesthetic simplicity.
  • The framework generates conjectures by testing whether a given PCF expression converges to a known constant within a specified numerical tolerance.
  • Proven identities are validated using known hypergeometric function identities and special functions such as the Lerch transcendent and Gamma functions.

Experimental results

Research questions

  • RQ1Can automated algorithms discover new continued fraction representations for fundamental mathematical constants like π, e, and ζ(3)?
  • RQ2To what extent can numerical pattern-finding replace or augment traditional mathematical intuition in deriving new formulas?
  • RQ3Are there systematic algorithmic methods to generate conjectures for constants with no known closed-form structure?
  • RQ4Can machine-generated conjectures be systematically proven using known special function identities?
  • RQ5What is the role of algorithmic discovery in advancing research in number theory and mathematical physics?

Key findings

  • The Ramanujan Machine discovered dozens of new continued fraction representations for fundamental constants, including previously unknown formulas for π, e, Catalan’s constant, and ζ(3).
  • Two conjectures were later proven using hypergeometric function identities: one for e/(e−2) and another for 4/(3π−8), both involving polynomial continued fractions.
  • The algorithm successfully generated the identity: 24/π² = 2 + Σ(8n⁴)/(2 + 7n(n+1)) in a continued fraction form, which remains unproven.
  • Another unproven conjecture links 8/(7ζ(3)) to a continued fraction with terms involving n⁶ and quadratic denominators, suggesting deep number-theoretic structure.
  • The method successfully generated a conjecture for 2^{2z+1}/(π·binomial(2z,z)) as a continued fraction with polynomial coefficients, later proven using hypergeometric identities.
  • The framework demonstrates that algorithmic search can uncover identities that are not only mathematically elegant but also potentially useful in number theory and analysis.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.