The Ramanujan Machine: Using algorithms to discover new mathematics
ramanujanmachine.com
ramanujanmachine.com
I would guess there was a lot more manual handholding that was not documented.
Cyc never seemed in the least bit interesting to me, tbh. Even today several "we taught our AI common sense!" articles have hit HN, and it's still not _really_ true.
pi/−4 = 1/(−1 + 1/(−4 + −2 /(−7 + −9/(−10 + −20/(−13+...))))
What exactly am supposed to prove here? The denominators are an arithmetic progression but numerators (1, 1, -2, -9, -20, ...) are just some bizarre sequence without an obvious pattern. The thing with continous fractions is that every number has one, so the fact that pi is presented as continous fraction is not impressive in itself.
It would seem more natural to rewrite it like this
-4/pi = −1 + 1/(−4 + −2 /(−7 + −9/(−10 + −20/(−13+...))))
which avoids the gratuitously different first numerator -- but I guess they wanted to reproduce results exactly as they happened to emerge from their program.
I think this is, further, equivalent to the following which avoids some gratuitous-looking minus signs:
4/pi = 1 + 1/(4 + −2 /(7 + −9/(10 + −20/(13+...))))
Continuing the fraction using the quadratic polynomial I gave above does indeed seem to make it converge to 4/pi, though not very quickly.
Clearly these k_n divide n!, so maybe the right way to say this is that the conjecture seems to be equivalent to 4/pi = product (a_n+n!)/a_n where (a_n) = (4,130,2464,45448,882528,18410640,...) ... though I don't know what that sequence _is_, haven't shown that it has a nice form, etc. None of (a_n), (a_n+n!), (a_n+n!/2) seems to occur in OEIS or to be a subsequence of anything in OEIS.
True, but there are regular generalized continuous fractions for pi [1].
[1] https://en.wikipedia.org/wiki/William_Brouncker,_2nd_Viscoun...
But the one found by this machine seems to be new; see the paper: http://www.ramanujanmachine.com/paper (or with some comments at https://fermatslibrary.com/s/the-ramanujan-machine-automatic... )
If anything, it seems like dirty hacking, but this time done by a mathematician.
It's actually a pretty simple consequence of the functional equation for ζ and a few special values of Γ. That in turn comes from a theta-function identity which can be proven using Poisson's summation formula.
What I'm trying to say is that it's legit maths, that has been distorted due to the shock value of writing the equation "1+2+3+... = -1/12".
If you're looking for a reference, go to Davenport's "Multiplicative Number Theory". It's short, self-contained, and extremely well-written. Serre's "A Course in Arithmetic" should also work.
> assigning a value to divergent infinite series
Every time someone claims that series is EQUAL to -1/12, someone loses faith in math.
That would be something.
"The prime number theorem is equivalent to the statement that the nth prime number p_n satisfies
p_n ~ nlog(n)
the asymptotic notation meaning, again, that the relative error of this approximation approaches 0 as n increases without bound. For example, the 2^1017th prime number is 8512677386048191063, and (2^1017)log(2^1017) rounds to 7967418752291744388, a relative error of about 6.4%."
from math import log
def f(n, k):
ln = log(n); lln = log(log(n))
return ln + lln - 1 + (lln-2)/ln - ((lln**2) - 6*lln+k)/(2*ln*ln)
With that in place, and once I realized that 2^1017 mean 2E17 not 2 to the power of 1017: >>> n = 2E17
>>> lo = n * f(n, 11.847)
>>> hi = n * f(n, 10.273)
>>> lo
8.512627944213742e+18
>>> hi
8.512727125430618e+18
>>> exact = 8512677386048191063
>>> (exact - lo)/exact
5.80802398678381e-06
>>> (exact - hi)/exact
-5.842977499434444e-06re: using AI to learn to factor integers / find primes - probably not doable yet. There are neural networks that could model an algorithm that does it (memory networks, neural turing machine etc.). But any target algorithm would surely be too complicated for the neural net to converge towards it simply based on binary signals and gradient descent.
Look for Willans' formula (there's a nice explanation in the book "Hacker's Delight").
It bugs me a bit that the authors write (I would love for anyone affiliated with the project to talk to me about this) "Any new conjecture, proof, or algorithm suggested will be named after you.". No offense, but there are very few mathematicians out there with that kind of a world view.
Seems a bit like a high school project without proper guidance from a mathematician.