Riješite jednadžbu u skupu nenegativnih cijelih brojeva:

Rješenja zapišite u obliku

u proizvoljnom poretku razdvojene zarezom.
Solve the following equation in nonnegative integers:

Write the solutions

in arbitrary order, separated by a comma.
[lang=hr]
Riješite jednadžbu u skupu nenegativnih cijelih brojeva:
$$(ab-7)^2=a^2+b^2. $$
Rješenja zapišite u obliku $(a,b)$ u proizvoljnom poretku razdvojene zarezom.
[/lang]
[lang=en]
Solve the following equation in nonnegative integers:
$$(ab-7)^2=a^2+b^2. $$
Write the solutions $(a,b)$ in arbitrary order, separated by a comma.
[/lang]