New answers tagged


APL (NARS2000), 20 bytes {2+⍵×⍺÷1+⍨2×⍺}/⍳7e3x I haven't been able to test this, but here's a version in Dyalog APL. The only difference between them is the suffix "x", which is used for rational numbers in NARS2000 but is not available in Dyalog (or other variants available online, as far as I know). It's based on the pi = 2 + 1/3*(2 + 2/5*(2 + 3/...

Top 50 recent answers are included