N2 has the form 3k or 3k+1 for some integer k

  • Thread starter Thread starter annoymage
  • Start date Start date
  • Tags Tags
    Form Integer
Click For Summary
SUMMARY

The discussion confirms that for any integer n, n² can only take the forms 3k or 3k+1, where k is an integer. This conclusion is derived from analyzing the squares of integers expressed in modular arithmetic with respect to 3. The calculations demonstrate that squaring integers of the form 3k, 3k+1, and 3k+2 results in either 3k or 3k+1, thus excluding the possibility of n² being of the form 3n+2.

PREREQUISITES
  • Understanding of modular arithmetic
  • Basic knowledge of integer properties
  • Familiarity with algebraic manipulation
  • Concept of divisibility in number theory
NEXT STEPS
  • Study modular arithmetic in depth
  • Explore properties of quadratic residues
  • Learn about number theory concepts related to divisibility
  • Investigate the implications of Fermat's theorem on squares
USEFUL FOR

Mathematics students, educators, and anyone interested in number theory or modular arithmetic will benefit from this discussion.

annoymage
Messages
360
Reaction score
0

Homework Statement



n2 has the form 3k or 3k+1 for some integer k

Homework Equations



n/a

The Attempt at a Solution



i've tried to table it for me to see, but still i don't have the general idea, should i show n2 is either divisable by 3k or 3k+1? if yes i still don't know owho
 
Physics news on Phys.org


Any integer, divided by 3, has remainder 0, 1, or 2, thus any number can be written as "3k" (remainder 0), "3k+ 1" (remainder 1), or "3k+ 2" (remainder 2).

Now try squaring those:

(3k)^2= 9k^2= 3(3k^2), "3 times an integer" and so is of the first kind above.

(3k+ 1)^2= 9k^2+ 6k+ 1= 3(3k^2+ 2k)+ 1, "3 times an integer plus 1" and so of the second kind above.

(3k+ 2)^2= 9k^2+ 12k+ 4= 9k^2+ 12k+ 3+ 1= 3(3k^2+ 4k+ 1)+ 1 which is again of the form "3 times an integer plus 1".

Note that none of those three forms, 3k, 3k+1, and 3k+ 2 (and every integer can be written in one of those forms), have a square of the form 3n+ 2.
 

Similar threads

Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 10 ·
Replies
10
Views
8K
  • · Replies 2 ·
Replies
2
Views
2K