Bailey–Borwein–Plouffe Formula

The BBP Formula is a spigot algorithm for π, allowing the nth hexadecimal digit to be computed without knowing the preceding digits.