(Proof) Square of integer is 3k or 3k+1

In summary, the conversation discusses how to prove that the square of any integer is either of the form 3k or 3k+1 for some integer k, using the Division Algorithm. It is shown that by considering the different cases of 3q, 3q+1, and 3q+2, the proof falls into place.
  • #1
jimmypoopins
65
0

Homework Statement


Prove that the square of any integer a is either of the form 3k or of the form 3k+1 for some integer k.

Homework Equations


The Division Algorithm: Let a,b be integers with b>0. Then there exists unique integers q and r such that a = bq + r and 0<=r<b

The Attempt at a Solution


I know from the division algorithm that any integer a can be written as 3q, 3q+1, or 3q+2, so
a^2=(3q)^2=9q^2=3(3q^2), or
a^2=(3q+1)^2=9q^2+6q+1, or
a^2=(3q+2)^2=9q^2+12q+4,
but i don't understand how the 3q+1 or 3q+2 case helps me.

Can anyone give me some hints or point me further in the right direction? thanks.
 
Last edited:
Physics news on Phys.org
  • #2
Well it's obviously not going to be of the form 3k, right? So try to fit it to the other form, namely 3k+1. That means strip a +1 off from the +4 at the end. It should fall right out.
 
  • #3
Good Work, you are basically done. Copying and pasting what you wrote,

a^2=(3q)^2=9q^2=3(3q^2), or
a^2=(3q+1)^2=9q^2+6q+1 = 3(3q^2 + 2q) + 1, or
a^2=(3q+2)^2=9q^2+12q+4 = 3(3q^2 + 4q + 1) + 1,

so you are done.
 
  • #4
ircdan said:
Good Work, you are basically done. Copying and pasting what you wrote,

a^2=(3q)^2=9q^2=3(3q^2), or
a^2=(3q+1)^2=9q^2+6q+1 = 3(3q^2 + 2q) + 1, or
a^2=(3q+2)^2=9q^2+12q+4 = 3(3q^2 + 4q + 1) + 1,

so you are done.

ah, simple arithmetic :) thank you!
 

1. What does it mean for the square of an integer to be 3k or 3k+1?

When we say that the square of an integer is 3k or 3k+1, it means that the result of squaring that integer can be expressed as either 3 multiplied by some integer (k), or 3 multiplied by some integer plus 1. In other words, the square of the integer has a remainder of either 0 or 1 when divided by 3.

2. Is this statement always true for any integer?

Yes, this statement is always true for any integer. This is because every integer can be classified as either a multiple of 3 (in which case the square will be 3k), or one more than a multiple of 3 (in which case the square will be 3k+1). For example, 5 is one more than a multiple of 3, so its square (25) can be expressed as 3 multiplied by some integer (8) plus 1.

3. How can this statement be proven?

This statement can be proven using mathematical induction. By showing that the statement is true for the base case (such as 0 or 1), and then assuming it is true for some integer n and showing that it is also true for n+1, we can conclude that the statement is true for all integers.

4. What is the significance of this statement in mathematics?

This statement is significant because it is a fundamental concept in number theory and modular arithmetic. It helps us understand the properties of integers and their relationships with other numbers, and it has applications in various fields such as cryptography and computer science.

5. Can this statement be generalized to other numbers besides 3?

Yes, this statement can be generalized to other numbers. In fact, the same concept can be applied to any positive integer n. In this case, the statement would be that the square of an integer can be expressed as either n multiplied by some integer, or n multiplied by some integer plus a value from 0 to n-1. For example, if n=4, then the statement would be that the square of an integer can be expressed as either 4k, 4k+1, 4k+2, or 4k+3.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
27
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
2K
  • Calculus and Beyond Homework Help
Replies
13
Views
2K
  • Calculus and Beyond Homework Help
Replies
15
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
3K
  • Calculus and Beyond Homework Help
Replies
4
Views
811
  • Calculus and Beyond Homework Help
Replies
5
Views
841
  • Precalculus Mathematics Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
737
Back
Top