Menu Close

If-the-number-of-divisors-of-a-number-is-odd-prove-that-the-number-is-perfect-square-and-vice-versa-




Question Number 27767 by Rasheed.Sindhi last updated on 14/Jan/18
If the number of divisors of a  number is odd,prove that the  number is perfect square and  vice versa.
Ifthenumberofdivisorsofanumberisodd,provethatthenumberisperfectsquareandviceversa.
Answered by mrW2 last updated on 14/Jan/18
Every number n can be expressed as  n=Π_(i=1) ^k p_i ^e_i  , where p_i  is prime,  and the number of its divisors is  d(n)=Π_(i=1) ^k (e_i +1)    If a number N is a perfect square,  i.e. N=n^2 , then  N=(Π_(i=1) ^k p_i ^e_i  )^2 =Π_(i=1) ^k p_i ^(2e_i )   d(N)=Π_(i=1) ^k (2e_i +1)  since the product of odd numbers is odd,  therefore d(N) is odd.    If d(n)=Π_(i=1) ^k (e_i +1) is odd, it means e_i   must be even, let′s say e_i =2f_i , then  n=Π_(i=1) ^k p_i ^e_i  =Π_(i=1) ^k p_i ^(2f_i ) =(Π_(i=1) ^k p_i ^f_i  )^2   it means n is a perfect square.
Everynumberncanbeexpressedasn=ki=1piei,wherepiisprime,andthenumberofitsdivisorsisd(n)=ki=1(ei+1)IfanumberNisaperfectsquare,i.e.N=n2,thenN=(ki=1piei)2=ki=1pi2eid(N)=ki=1(2ei+1)sincetheproductofoddnumbersisodd,therefored(N)isodd.Ifd(n)=ki=1(ei+1)isodd,itmeanseimustbeeven,letssayei=2fi,thenn=ki=1piei=ki=1pi2fi=(ki=1pifi)2itmeansnisaperfectsquare.
Commented by mrW2 last updated on 15/Jan/18
An other way to prove:  Generally, if m is a divisor of the   number N, then (N/m) is also a divisor  of it. That means the divisors are  always pairwise. Every divisor has  a corresponding partner.    If the number N is perfect square, i.e.  N=n^2 , it means n is a divisor of it,  but (N/n)=n, the partner of n is in fact  itself, it means  if the number is perfect square, its  number of divisors is odd.    On the other side, if the number of  divisors of N is odd, one divisor, say  n,  and its partner has the same value, i.e.  n=(N/n)  ⇒N=n^2   or N is perfect square.
Anotherwaytoprove:Generally,ifmisadivisorofthenumberN,thenNmisalsoadivisorofit.Thatmeansthedivisorsarealwayspairwise.Everydivisorhasacorrespondingpartner.IfthenumberNisperfectsquare,i.e.N=n2,itmeansnisadivisorofit,butNn=n,thepartnerofnisinfactitself,itmeansifthenumberisperfectsquare,itsnumberofdivisorsisodd.Ontheotherside,ifthenumberofdivisorsofNisodd,onedivisor,sayn,anditspartnerhasthesamevalue,i.e.n=NnN=n2orNisperfectsquare.
Commented by Rasheed.Sindhi last updated on 15/Jan/18
 Thanks Very Much Sir!  Knowledge increasing answer for me!
ThanksVeryMuchSir!Knowledgeincreasinganswerforme!

Leave a Reply

Your email address will not be published. Required fields are marked *