← RoseCode

ROSECODE 489

Generalized Pythagorean Equation

Philippe_57721 · Programming ·

Consider the Diophantine equation x2+13xy+y2=z2

How many solutions are there with 0<x<y<107(x,y,z coprime)

Answer format: count,x,y,z

You are given : 28989,580750261,1448965526,3481052101 for a threshold of 105

[My timing: 20 sec]