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
-
middleAsColumn: Return all but first and last element as a column vector
601 Solvers
-
213 Solvers
-
Detect a number and replace with two NaN's
190 Solvers
-
Sum of odd numbers in a matrix
561 Solvers
-
Combined Ages 1 - Symmetric, n = 3
255 Solvers
More from this Author271
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!