Câu 2. Giả sử ${{n}^{2}}=\overline{abcd}=100\overline{ab}+\overline{cd}=100\left( 1+\overline{cd} \right)+\overline{cd}=101\overline{cd}+100,n\in Z$
$\Rightarrow 101\overline{cd}={{n}^{2}}-100=\left( n-10 \right)\left( n+10 \right).$
Vì $n<100$ và $101$ là số nguyên tố nên $n+10=101\Rightarrow n=91.$
Thử lại: $\overline{abcd}={{91}^{2}}=8281$ có $82-81=1.$
Vậy $\overline{abcd}=8281$
Câu 1:
\(xy+3x-y=6\)
\(\Rightarrow xy+3x-y-3=6-3\)
\(\Rightarrow\left(xy+3x\right)-\left(y+3\right)=3\)
\(\Rightarrow x.\left(y+3\right)-\left(y+3\right)=3\)
\(\Rightarrow\left(y+3\right).\left(x-1\right)=3\)
Vì \(x,y\in Z\Rightarrow\left\{{}\begin{matrix}y+3\in Z\\x-1\in Z\end{matrix}\right.\)
\(\Rightarrow y+3\inƯC\left(3\right);x-1\inƯC\left(3\right)\)
\(\Rightarrow y+3\in\left\{1;3;-1;-3\right\};x-1\in\left\{1;3;-1;-3\right\}.\)
\(\Rightarrow\left[{}\begin{matrix}\left\{{}\begin{matrix}y+3=1\\x-1=3\end{matrix}\right.\\\left\{{}\begin{matrix}y+3=3\\x-1=1\end{matrix}\right.\\\left\{{}\begin{matrix}y+3=-1\\x-1=-3\end{matrix}\right.\\\left\{{}\begin{matrix}y+3=-3\\x-1=-1\end{matrix}\right.\end{matrix}\right.\Rightarrow\left[{}\begin{matrix}\left\{{}\begin{matrix}y=-2\\x=4\end{matrix}\right.\left(TM\right)\\\left\{{}\begin{matrix}y=0\\x=2\end{matrix}\right.\left(TM\right)\\\left\{{}\begin{matrix}y=-4\\x=-2\end{matrix}\right.\left(TM\right)\\\left\{{}\begin{matrix}y=-6\\x=0\end{matrix}\right.\left(TM\right)\end{matrix}\right.\)
Vậy cặp số nguyên \(\left(x;y\right)\) thỏa mãn đề bài là: \(\left(4;-2\right),\left(2;0\right),\left(-2;-4\right),\left(0;-6\right).\)
Chúc bạn học tốt!