https://123dok.net/document/z3d3kknm-metrical-problems-concerning-continued-fractions.html