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

Click For Summary

Homework Help Overview

The discussion revolves around proving that the square of any integer \( a \) is either of the form \( 3k \) or \( 3k+1 \) for some integer \( k \). The context involves the application of the Division Algorithm to categorize integers based on their remainders when divided by 3.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to apply the Division Algorithm to express \( a \) in terms of \( 3q \), \( 3q+1 \), and \( 3q+2 \), but expresses confusion about how the cases of \( 3q+1 \) and \( 3q+2 \) contribute to the proof.

Discussion Status

Some participants provide hints and affirmations regarding the original poster's work, suggesting that the forms can be manipulated to fit the required proof. However, there is no explicit consensus on the final steps, and the discussion remains open to further exploration.

Contextual Notes

Participants are working within the constraints of a homework assignment, which may limit the depth of exploration and the types of solutions discussed.

jimmypoopins
Messages
64
Reaction score
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
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.
 
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.
 
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!
 

Similar threads

Replies
27
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 13 ·
Replies
13
Views
4K
Replies
15
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
5
Views
2K