Happy π day yall! A less well known way to calculate pi is as a continued fraction, this is an exact way to write π, as opposed to an approximation. You can see a clear pattern here that does not reflect what you'd expect from a number as famously irrational. The way this works is by running a set number of iterations and starting that far back.