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
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
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:

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

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

[itex](3k+ 2)^2= 9k^2+ 12k+ 4[/itex][itex]= 9k^2+ 12k+ 3+ 1= 3(3k^2+ 4k+ 1)+ 1[/itex] 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.