👤

aflati doua numere naturale a si b daca (a,b)= 7 si suma lor este 57

Răspuns :

a=7x si b=7y    (x;y)=1
7x+7y=56
7(x+y)= 56
x+y=56:7
x+y=8⇒
x=1 si y=7 ⇒a=7 si b=49
x=7 si y=1 ⇒a=49 si b=7
x=3 si y=5 ⇒a=21 si b=35
x=5 si y=3 ⇒a=35 si b=21