Re:A formula for the nβth digit of π and π^n
by colanderman on Sunday January 15, 2023 @10:00AM
(#34389884)
See also Plouffe's earlier (1995) formula to extract hexadecimal digits of pi: https://en.m.wikipedia.org/wiki/Bailey%E2%80%93Borwein%E2%80...
[ Parent
| on HN ]
Re:A formula for the nβth digit of π and π^n
by karmakaze on Sunday January 15, 2023 @03:47PM
(#34393187)
We should also have decimal/binary/hex digits of Tau to complete the set.
Re:A formula for the nβth digit of π and π^n
by cleak on Sunday January 15, 2023 @04:07PM
(#34393404)
Decimal is the only tricky one. Given that tau=2pi, simple use f(n-1) in the original binary formula for pi, and Iβm sure something just as trivial for hex.
Re:A formula for the nβth digit of π and π^n
by userbinator on Sunday January 15, 2023 @04:09PM
(#34393428)
...which Fabrice Bellard improved upon: https://en.m.wikipedia.org/wiki/Bellard%27s_formula