Consideram numerele cautate x,y,z.
x+y+z = 258
x = y+4
y = z+4 => z = y - 4
Inlocuim in prima relatie doate variabilele in functie de y, astfel:
y+4+y+y-4 = 258 =>3y = 258 => y = 258:3 => y = 86
x = 86 +4 = 90
z = 86 - 4 = 82
=> 258 = 90 + 86 + 82
:D