OFFSET
1,1
COMMENTS
Approximation of Pi accurate up to five digits.
Periodic of period [4, 1, 5, 0, 9, 4, 3, 3, 9, 6, 2, 2, 6] of length 13.
REFERENCES
David Wells, The Penguin Dictionary of Curious and Interesting Numbers. Penguin Books, NY, 1986, Revised edition 1987. See p. 49.
LINKS
Wikipedia, Adriaan Metius.
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,0,0,0,0,1).
FORMULA
EXAMPLE
3.1415094339622641509433962264150943396226415...
MATHEMATICA
RealDigits[333/106, 10, 100][[1]]
PROG
(Python)
def A375820(n): return (2, 2 , 6, 4, 1, 5, 0, 9, 4, 3, 3, 9, 6)[n%13] if n>2 else 5-(n<<1) # Chai Wah Wu, Aug 30 2024
CROSSREFS
KEYWORD
AUTHOR
Stefano Spezia, Aug 30 2024
STATUS
approved