This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A350799 #36 Jul 09 2025 04:58:01 %S A350799 1,2,3,5,7,8,9,11,12,14,16,17,18,19,21,22,24,25,27,29,30,30,32,34,36, %T A350799 37,38,40,40,43,42,45,47,47,49,51,53,54,55,57,58,59,60,62,64,65,67,68, %U A350799 69,71,72,74,75,75,77,79,80,82 %N A350799 The number of decimal places of Pi that are computed correctly when using Machin's formula with n terms of the Taylor series. %C A350799 Machin's formula states that Pi/4 = 4*arctan(1/5) - arctan(1/239). An approximation of Pi can be found by computing this using a Taylor series approximation of arctan. a(n) is the number of decimal places that are correct when n terms are included in the Taylor series approximation. %H A350799 Matthew Scroggs, <a href="/A350799/b350799.txt">Table of n, a(n) for n = 1..200</a> %H A350799 Matthew Scroggs, <a href="https://github.com/mscroggs/machins-formula/blob/main/A350799.py">Python code</a> %H A350799 Wikipedia, <a href="https://en.wikipedia.org/wiki/John_Machin">John Machin</a> %e A350799 For n = 3, Machin's formula with three terms in the Taylor series gives 3.14162102932503442504 as an approximation of Pi. The first 3 decimal places (141) are correct, so a(3) = 3. %Y A350799 Cf. A000796, A096954, A096955. %K A350799 nonn,base %O A350799 1,2 %A A350799 _Matthew Scroggs_, Jan 18 2022