SMRTR Science & EngineeringMar 14, 2025John D. Cook

Computing the nth digit of π directly

SMRTR summary

The BBP formula calculates specific hexadecimal digits of π independently, using modular exponentiation for efficiency, as shown in a Python example that finds the 100th hexadecimal digit of π without computing previous digits.

SMRTR provides this summary for quick context. The original article belongs to John D. Cook.

Read the original article
SMRTR Science & Engineering

Get the next batch of curated summaries in your inbox.

This archive is built from SMRTR newsletter summaries. Subscribe for hand-picked stories without the extra noise.