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
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
476 Solvers
-
compress sequence into intervals
87 Solvers
-
193 Solvers
-
calculate PI without using pi function
95 Solvers
-
Spot the First Occurrence of 5
418 Solvers
More from this Author279
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!