Problem 46003. Compute Khinchin's constant
Khinchin's constant = 2.684542001... (also written "Khintchine's constant") has the amazing property that it is the limiting value of the geometric mean of the partial quotients from a continued fraction expansion of almost all numbers. In other words, if a number x is expanded as
then as
More information is available at Wikipedia, Wolfram MathWorld, the Online Encyclopedia of Integer Sequences, and Numberphile.
Compute Khinchin's constant. The test suite will check for a difference of .
Solution Stats
Problem Comments
-
1 Comment
Dyuman Joshi
on 4 Jan 2022
This is people finding a way to go around the test case
Solution Comments
Show commentsProblem Recent Solvers15
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2715 Solvers
-
4379 Solvers
-
148 Solvers
-
Matrix multiplication across rows
323 Solvers
-
223 Solvers
More from this Author275
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!