Is Every Number with an Odd Number of Divisors a Perfect Square?

  • Thread starter Thread starter GeoMike
  • Start date Start date
  • Tags Tags
    Proof
AI Thread Summary
A number has an odd number of positive divisors only if it is a perfect square. This is demonstrated by the pairing of divisors; if a number can be expressed as c = ab with a and b as distinct divisors, it results in an even count. However, if a = b, then c can be rewritten as c = a^2, contributing a single divisor, leading to an odd total. The discussion suggests considering prime factorization as an alternative method for counting divisors. Understanding these concepts is crucial for proving the relationship between odd divisors and perfect squares.
GeoMike
Messages
64
Reaction score
0
Ok, the proof to be done is pretty simple:
Prove that a number is a square only when the number of positive divisors is odd.

I pretty sure I know the answer, I'm just not sure how to go about writing it out...

If c is the number then you can write:
c=ab.
a and b are divisors of c. If a doesn't equal b then you have two different divisors. If a=b, then c=ab can be rewritten as c=a^2, and you only have one divisor. Because of this any number that can be written as a square of another number has an odd number of divisors -- all the pairs of factors that equal the number plus the 1 divisor that is squared to make the number.

I guess I just need to know how to write this out better, and how to make sure I haven't assumed to much as given/proven at the outset.
Thanks,
-GM-
 
Physics news on Phys.org
That's pretty much it, you've got the essential idea of pairing divisors c=ab with a,b distinct, which leaves out the oddball \sqrt{c} out. You could try organizing the divisors c=ab with the assumption that a<=b, but this isn't necessarily any better.

For an alternate way, you could look at the prime factorization of c and count the divisors that way. (this isn't a 'better' way, but gives a different point of view to consider if you run across other divisor problems)
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top