The Ramanujan Machine: Automatically Generated Conjectures on Fundamental Constants

Gal Raayoni, Shahar Gottlieb, George Pisha, Yoav Harris, Yahel Manor +4 more
6/29/2019
25 citations
cs.LGcs.AI

Official code: AnonGit90210/RamanujanMachine (436 stars, Python, last commit 2022-06-21).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

43672PythonMay 25, 20194 years ago

Similar Papers

Cite this paper

@article{raayoni2019ramanujan,
  title  = {The Ramanujan Machine: Automatically Generated Conjectures on Fundamental Constants},
  author = {Gal Raayoni and Shahar Gottlieb and George Pisha and Yoav Harris and Yahel Manor and Uri Mendlovic and Doron Haviv and Yaron Hadad and Ido Kaminer},
  year   = {2019},
  eprint = {1907.00205},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.00205}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1907.00205.svg)](https://codeofpaper.com/paper/1907.00205)

Discussion