From charlesreid1

Problem Statement

Another continued fractions problem, this time asking about convergents P and Q of the natural base e.

Link: https://projecteuler.net/problem=65

Also See

Blog post: Computing square roots using continued fractions: https://git.charlesreid1.com/cs/euler/src/master/scratch/Round2_050-070/063/Problem063.java

Problem 57 (also deals with continued fractions): Project Euler/57

Problem 64: Project Euler/64

Code

Link: https://git.charlesreid1.com/cs/euler/src/master/scratch/Round2_050-070/065

Convergents class: https://git.charlesreid1.com/cs/euler/src/master/scratch/Round2_050-070/065/Convergents.java

Problem 65 driver: https://git.charlesreid1.com/cs/euler/src/master/scratch/Round2_050-070/065/Problem065.java

Flags