3 ms·
If you want to program and play around a bit with the Pell equation (and learn more than you'd ever think about continued fractions for square roots - it's magi
by FabHK 4y ago
If you want to program and play around a bit with the Pell equation (and learn more than you'd ever think about continued fractions for square roots - it's magic), here's a Project Euler problem involving it:
https://projecteuler.net/problem=66 https://projecteuler.net/problem=66
For warm up on continued fractions, solve problems 64 and 65 before.