Prove that if $a \mid n$ then $a^2\mid (n + 1)(n − 1) + 1$

62 Views Asked by At

I have this review question for an exam and I was hoping someone can help me solve it:

Prove that if $a \mid n$ then $a^2\mid (n + 1)(n − 1) + 1$

this is what I have so far, not sure if it is right:

$a^2\mid (n + 1)(n − 1) + 1$

$=(n+1)(n-1)+1$

$=n^2-n+n-1+1$

$=n^2$

2

There are 2 best solutions below

2
On BEST ANSWER

You're right. $(n+1)(n-1) + 1 = n^2$. Therefore, $a^2 \mid (n+1)(n-1) + 1$ is exactly the same statement as $a^2 \mid n^2$, even though it looks slightly different.

Now, if $a\mid n$, that means that $n = a\cdot m$ for some integer $m$. What can you say about $n^2$?

0
On

$a\mid n\implies a^2\mid n^2 = n^2-1+1=(n+1)(n-1)+1$

This uses the common useful factorization $(A+B)(A-B)=A^2-B^2$ and the fact $a\mid n\ \,\Rightarrow\,\ a^2\mid n^2$, which can be seen by $a=n(k)\,\Rightarrow\, a^2=n^2(k^2)$ by definition of divisibility.