Is a positive integer even if its square is even?

  • Google+ icon
  • LinkedIn icon

Let's take a positive integer n.

We can write it as a product of prime numbers:, where p1, p2, ..., pr are prime factors of n.

Now, assume that n2 is even. Then one of the pi equals 2. Why?

Note that n2=p12...pr2. Also, since n2 is even, then n2=2k for some k positive integer. 

=> 2k=p12...pr2, which, since 2 is a prime, implies that 2 = pi for some i.


And so, n is even.


Andrei S. A Level Maths tutor, GCSE Maths tutor, IB Maths tutor, Uni ...

About the author

is an online Uni Admissions Test Maths tutor with MyTutor studying at University College London University

Still stuck? Get one-to-one help from a personally interviewed subject specialist.

95% of our customers rate us

Browse tutors

We use cookies to improve your site experience. By continuing to use this website, we'll assume that you're OK with this. Dismiss