Wednesday, April 24, 2013

project euler problem 137 140

Fibonacci golden nuggets

These two problems are quite difficult. I solved them, but I still do not have a good algorithm for generalized pell equation. I read some papers, but the algorithm is not easy to implement. So I used some of the properties of pell equation and find the solution.  I did not find too much info in the discussion thread about solving the generalized pell equation. 

No comments:

Post a Comment