The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A350799 The number of decimal places of Pi that are computed correctly when using Machin's formula with n terms of the Taylor series. 2
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, 37, 38, 40, 40, 43, 42, 45, 47, 47, 49, 51, 53, 54, 55, 57, 58, 59, 60, 62, 64, 65, 67, 68, 69, 71, 72, 74, 75, 75, 77, 79, 80, 82 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
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.
LINKS
Matthew Scroggs, Python code
Wikipedia, John Machin
EXAMPLE
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.
CROSSREFS
Sequence in context: A228373 A156271 A186513 * A246438 A158791 A144717
KEYWORD
nonn,base
AUTHOR
Matthew Scroggs, Jan 18 2022.
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 13 12:32 EDT 2024. Contains 372519 sequences. (Running on oeis4.)