\(a=\dfrac{1}{9}.\left(999...9\right)=\dfrac{1}{9}.\left(100...0-1\right)=\dfrac{1}{9}\left(10^n-1\right)\)
\(b=100...0+5=10^n+5\)
\(\Rightarrow ab+1=\dfrac{1}{9}\left(10^n-1\right)\left(10^n+5\right)+1=\dfrac{1}{9}\left(10^{2n}+4.10^n+4\right)=\dfrac{1}{9}\left(10^n+2\right)^2\)
\(=\left(\dfrac{10^n+2}{3}\right)^2\)
Ta có: \(10\equiv1\left(mod3\right)\Rightarrow10^n\equiv1\left(mod3\right)\)
\(\Rightarrow10^n+2⋮3\)
\(\Rightarrow\dfrac{10^n+2}{3}\in Z\)
\(\Rightarrow\left(\dfrac{10^n+2}{3}\right)^2\) là SCP hay \(ab+1\) là SCP