# Euler’s crazy pi formula generator

From Mathologer. Today we derive them all, the most famous infinite pi formulas: The Leibniz-Madhava formula for pi, John Wallis’s infinite product formula, Lord Brouncker’s infinite fraction formula, Euler’s Basel formula and it’s infinitely many cousins. And we do this starting with one of Euler’s crazy strokes of genius, his infinite product formula for the…