a) \(\left(n+3\right)^2-\left(n-1\right)^2=\left(n+3-n+1\right)\left(n+3+n-1\right)\)
\(=4\left(2n+2\right)=8\left(n+1\right)\)
=> \(\left(n+3\right)^2-\left(n-1\right)^2\) chia hết cho 8
b) \(\left(n+6\right)^2-\left(n-6\right)^2=\left(n+6-n+6\right)\left(n+6+n-6\right)\)
\(=12\left(2n\right)=24n\)
\(=>\left(n+6\right)^2-\left(n-6\right)^2\)chia hết cho 24