Notam n=nr de copii
a)n:5=a rest3
n:4=b rest 2
-----------------------
==> n=5a+3
==> n=4b+2
==>5a+3=4b+2
------------------------- -2
5a+1=4b
Daca sunt 978 ==>978:5=195 rest 3
978:4=244 rest 2
==>a=195 si b=244
5a+3=978
4b+2=978
b)Daca a=1 ==> 5a+1=6 FALS
Daca a=2 ==> 5a+1=11 FALS
Daca a=3 ==> 5a+1=16 ==>4b=16 ==>b=4 ADEVARAT
CELEMAI MICI VALORI SUNT a=3 si b=4