pi=π=sqrt(6*(sum(1/n^2))) =3.1415926535... where n=1..infinity After 100,000,000 iterations sqrt(6*(sum(1/n^2))) =3.1415926449... After an infinite number of iterations it gives exactly the right answer. Trust me, I tried this and verified. Takes a while to run though.
Why is pi here? And why is it squared? A geometric answer to the Basel problem: https://www.youtube.com/watch?v=d-o3eB9sfls Credit goes to Leonhard Euler: https://en.wikipedia.org/wiki/Basel_problem