Trừ vế cho vế:
\(xy+z-\left(x+yz\right)=1\)
\(\Leftrightarrow x\left(y-1\right)-z\left(y-1\right)=1\)
\(\Leftrightarrow\left(x-z\right)\left(y-1\right)=1\)
Do \(y\) nguyên dương \(\Rightarrow y\ge1\Rightarrow y-1\ge0\Rightarrow x-z>0\)
\(\Rightarrow\left\{{}\begin{matrix}x-z=1\\y-1=1\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}y=2\\z=x-1\end{matrix}\right.\)
Thế vào \(x+yz=2020\)
\(\Rightarrow x+2\left(x-1\right)=2020\)
\(\Leftrightarrow3x=2022\Rightarrow x=674\Rightarrow z=673\)
Vậy \(\left(x;y;z\right)=\left(674;673;2\right)\)