Finding number of factorizations

  • Thread starter Thread starter PhDorBust
  • Start date Start date
PhDorBust
Messages
141
Reaction score
0
Given a number n, what would be the computationally most efficient procedure to find the number of unique factorizations.

e.g. 24 has 4 factorizations
24 = 1 * 24
= 2 * 12
= 3 * 8
= 4 * 6
 
Physics news on Phys.org
PhDorBust said:
Given a number n, what would be the computationally most efficient procedure to find the number of unique factorizations.

e.g. 24 has 4 factorizations
24 = 1 * 24
= 2 * 12
= 3 * 8
= 4 * 6
For a given number n, determine whether the numbers in the set {2, 3, 4, ..., m} are divisors, where m <= √n. You don't need to check for 1 being a divisor.

You can tweak the process some: if n is odd, then it won't be divisible by any even number.
 
Yes, that is how I first approached it, but I suspect there is a better way.

These are my thoughts. To find the number of factorizations of a number, find its prime factorization, then I *believe* there is some expression for the number of factors given this prime factorization.

For example, given a number p^n, it will have n + 1 unique factorizations. I've written out the cases for (p1^n) * (p2 ^ m), where p,p1,p2 are arbitrary primes; but I am not getting the pattern for arbitrary (p1 ^ r1) ... (pn ^ rn) factorizations.
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top