| Thread Closed |
Finding all divisors of a number |
Share Thread | Thread Tools |
| Feb9-09, 02:01 PM | #1 |
|
|
Finding all divisors of a number
Good time people
Is there any way other than dividing the number from 2 to its half to find all of its divisors? Anyway may help so feel free telling your ideas thanks |
| Feb9-09, 02:22 PM | #2 |
|
|
First of all you don't have to divide up to the number's half, only up to it square root. Second, you only have to divide by prime numbers.
|
| Feb9-09, 02:51 PM | #3 |
|
Recognitions:
|
It's easiest to first find all the prime factors of a number, and then determine the divisors from that list. Finding the prime factors requires only trial dividing up to the square root of the number -- and then only by the primes, if you like.
Methods like Pollard's rho algorithm, elliptic curve factoring, and the number field sieves can be used to factor large numbers (say, > 10^9) much more quickly. Practically, if you don't recognize these terms, I recommend a tool like http://www.alpertron.com.ar/ECM.HTM |
| Feb11-09, 05:45 AM | #4 |
|
|
Finding all divisors of a number
Hello
Did you noticed 71,a prime factor of 284? it is greater than 16.85 that is the square root of 284. |
| Feb11-09, 05:49 AM | #5 |
|
|
And one more thing...
Could you explain the methods you named? the page you gave the link of,doesn't include a explanation about the method itself. I searched it in the internet but i found no easy explanation. thanks |
| Feb11-09, 06:22 AM | #6 |
|
|
Hi Shyan,
I had visited a site called eTutorWorld its online tuition site. |
| Feb11-09, 08:02 AM | #7 |
|
|
|
| Feb11-09, 08:18 AM | #8 |
|
|
Yes, but I think Shyan was referring to Skeptic2's advice to only go up to and only use prime numbers. 2 divides into 284 142 times but you don't immediately see the "71". Of course the intelligent thing to do once you have 284= 142 would be to ignore the 284 and start factoring 142 so that you immediately get 2*71 but it is not clear that was what Skeptic2 meant.
|
| Feb11-09, 11:17 AM | #9 |
|
|
|
| Feb11-09, 02:14 PM | #10 |
|
|
|
| Thread Closed |
| Thread Tools | |
Similar Threads for: Finding all divisors of a number
|
||||
| Thread | Forum | Replies | ||
| Finding Perfect Number with C++ | Programming & Comp Sci | 5 | ||
| Finding the number of revolutions | Introductory Physics Homework | 3 | ||
| finding the number of molecules | Advanced Physics Homework | 5 | ||
| Finding a fraction of a number | General Math | 79 | ||
| inference of even or odd from the number of divisors? | Linear & Abstract Algebra | 4 | ||