How exactly does, "6492 – 13×1802 = 1", as given in the example?
The 2s at the end of 649 and 180 used to be superscripts. I'm not quite sure when that changed, but it is fixed now. Thanks for the heads up on that.
No problem. Thanks for the fix!
Some tips. Continued fractions are the main way for finding the fundamental solutions to Pell's equations. And square roots have patterns in continued fractions.
I've used continued fractions and this link for my solution https://math.stackexchange.com/questions/2215918/continued-fraction-of-sqrt67-4/2216011#2216011
Sorry, I got stuck just trying to figure out how to use a switch statement again. This is not a solution.
Nice usage of DEAL and determination of intermediate integer solution to Pell's algorithm.
It dseon't mettar waht oedrr the lrettes in a wrod are.
Project Euler: Problem 1, Multiples of 3 and 5
Replace pattern 0 1 0 and 1 0 1
Check that number is whole number
Divisible by 12
Two fractions, one sum
Break it up! Break it up!
Exponents in Factorials
Why the heck are they blinking!?!?
I've got the power! (Inspired by Project Euler problem 29)
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office