Spigot algorithm

ID: spigot-algorithm

Spigot algorithm by Wikipedia Bot 0
The Spigot algorithm is a type of algorithm used to compute the digits of certain mathematical constants and numbers, notably π (pi) and e, in a sequential manner. The key characteristic of Spigot algorithms is that they allow for the computation of the digits of a number without needing to compute all the preceding digits, making them particularly efficient for generating long sequences of digits.

New to topics? Read the docs here!