Assume is multiplicative

a) Letpbe a prime anda. Prove that for an odd primep, is odd if, and only f,ais even. Also prove that forp= 2, is odd for alla

b) Let n . Prove that is odd if, and only if, eithernis a perfect square or twice a perfect square (i.e.