Prove that the square of any integer, when divided by 3. only by odd and even.

dgamma3
Messages
12
Reaction score
0

Homework Statement



I know you could prove this by stating every integer is either 3m, 3m+1 or 3m+2. However I am trying to prove this just using either even numbers or odd numbers.

so for example, when I try:
(2x+1)^2
= 4x^2 + 4x + 1 - expand
= 3x^2 + x^2 + 3x + x + 1 - group like terms
= 3x^2 + 3x + x^2 + x + 1
= 3*(x^2 + x) + x(x+1) + 1

x(x+1) + 1 is an odd number

so
= 3*(x^2 + x) + 2p + 1

thats as far as I can go.

thanks
 
Physics news on Phys.org
dgamma3 said:

Homework Statement



I know you could prove this by stating every integer is either 3m, 3m+1 or 3m+2. However I am trying to prove this just using either even numbers or odd numbers.

so for example, when I try:
(2x+1)^2
= 4x^2 + 4x + 1 - expand
= 3x^2 + x^2 + 3x + x + 1 - group like terms
= 3x^2 + 3x + x^2 + x + 1
= 3*(x^2 + x) + x(x+1) + 1

x(x+1) + 1 is an odd number

so
= 3*(x^2 + x) + 2p + 1

thats as far as I can go.
What are you trying to prove?
Your thread title seems to be missing a few words
Prove that the square of any integer, when divided by 3. only by odd and even.
Prove that the square of any integer, when divided by 3, does what?

The problem template has a problem statement section titled, and this is where the statement of the problem should go. Use it.
 
sorry mate.

Prove that the square of any integer, when divided by 3, leaves remainder 0 or 1 but never 2.
thanks
 
What possibilities do you need to consider for the integer?
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...

Similar threads

Back
Top