[tex]\it a:b=35\ \ rest\ \ 87 \Rightarrow a = 35b+87\ \ \ \ \ (1)\\ \\ a+b=3759\ \ \Rightarrow \ \ a=3759-b\ \ \ \ \ \ \ (2)\\ \\ (1),\ (2) \Rightarrow 35b+87=3759-b \Rightarrow 35b+b=3759-87 \Rightarrow 36b=3672 \Rightarrow \\ \\ \Rightarrow b=3672:36 \Rightarrow b=102\ \ \ \ \ (3)\\ \\ (2),\ (3) \Rightarrow a=3759-102 \Rightarrow a=3657[/tex]
Numerele cerute sunt: 3657 și 102.