You are viewing a single comment's thread. Return to all comments →
I believe based on the algebra it's only whether PQ is a square, as that is the D if you turn everything into a general Pell's Equation
edit: Belay that...to my chagrin, P = 1, Q = 36 has a solution...
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Project Euler #100: Arranged probability
You are viewing a single comment's thread. Return to all comments →
I believe based on the algebra it's only whether PQ is a square, as that is the D if you turn everything into a general Pell's Equation
edit: Belay that...to my chagrin, P = 1, Q = 36 has a solution...