Project Euler/65: Difference between revisions
From charlesreid1
(→Code) |
|||
| Line 16: | Line 16: | ||
Link: https://charlesreid1.com:3000/cs/euler/src/master/scratch/Round2_050-070/065 | Link: https://charlesreid1.com:3000/cs/euler/src/master/scratch/Round2_050-070/065 | ||
Convergents class: https://charlesreid1.com:3000/cs/euler/src/master/scratch/Round2_050-070/065/Convergents.java | |||
Problem 65 driver: https://charlesreid1.com:3000/cs/euler/src/master/scratch/Round2_050-070/065/Problem065.java | |||
==Flags== | ==Flags== | ||
{{ProjectEulerFlag}} | {{ProjectEulerFlag}} | ||
Revision as of 11:05, 8 January 2018
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://charlesreid1.com:3000/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://charlesreid1.com:3000/cs/euler/src/master/scratch/Round2_050-070/065
Convergents class: https://charlesreid1.com:3000/cs/euler/src/master/scratch/Round2_050-070/065/Convergents.java
Problem 65 driver: https://charlesreid1.com:3000/cs/euler/src/master/scratch/Round2_050-070/065/Problem065.java
Flags