I have the following statement to prove
Prove that if n is any integer then 4 either divides n^2 or n^2 − 1
I am new to proofs, how, when faced with a question like this, do I begin to decide which method of proof I should use?
I have the following statement to prove
Prove that if n is any integer then 4 either divides n^2 or n^2 − 1
I am new to proofs, how, when faced with a question like this, do I begin to decide which method of proof I should use?
In general it is best to prove things directly if it is possible. Think about how you can break down the possibilities for $n$, and what the implications might be for those possibilities, e.g. is $n$ even or odd?
Try some $n$ first: $n=1$, then $n^2= 1$, or $n^2-1 =0$. So then the second option holds. $n=2$ we get $4$ and $3$ and the first option holds. For $n=3$ we get $9$ and $8$, second option. For $n=4$ we get $16, 15$ and the first. Do we see a pattern emerge?