Let be an integer. Show that if is an integer then it must be a perfect square.

ATTEMPT: .

So we have

CASE 1:

Then .

Substitutung this we get

Writing we get .

Substituting this expression of in we get .

This means we have to prove that is a perfect square.

This also means that should be a perfect square since .

I can't figure out what to do from here.