The Bailey-Borwein-Plouffe formula (BBP formula) provides a spigot algorithm for the computation of the nth digit of . The original BBP summation formula was found in 1995 by Plouffe using PSLQ. It is
Amazingly, this formula is afor in base 16.
It appears that there is a digit extraction algorithm even for e!