Problem 54 - Pythagorean Triples

Back to Problem Solutions forum

yeskaybee     2016-12-17 20:28:41

Can anyone give some suggestion on how to approach this - Problem 54 - Pythagorean Triples? With 10e+7 kind of numbers, its not clear how to start and generate the triples and check quickly & efficiently Any help would be appreciated. Thank you.

Quandray     2016-12-18 17:42:05
User avatar

Hi,

In the problem description, there is a link to a "Blog on algorithms by Faisal Rahman". Have you looked at the relevant part of that?

yeskaybee     2016-12-18 20:40:50

I did look at it and somehow missed the meat of the description!! My bad, thank you so much for making me give a hard second look and now it was piece of cake - wish my second look was my first :(

Please login and solve 5 problems to be able to post at forum