a, r, g = numărul de trandafiri din fiecare culoare.
a:13=c1, rest 4*c1 => a= 13*c1+4*c1
r:13=c2, rest 4*c2=> r= 13*c2+4*c2
g:13=c3, rest 4*c3 => g=13*c3+4*c3
4*c1, 4*c2, 4*c3 <13 =>
=> c1, c2, c3<13/4
Dar a<r<g, deci c1<c2<c3 =>
=> c1= 3
c2=2
c3=1
a=13*c1+4c1= 13*3+4*3=51
r=13*c2+4c2= 13*2+4*2=34
g=13*c3+4c2=13*1+4*1=17