![]() |
|
|
#1 |
|
Jan 2005
Transdniestr
503 Posts |
Hello,
Maybe this is a naive question but I was wondering if there are any clever tests to determine the number of factors of a big integer. For instance, instead of a test revealing a number to be prime or composite, have the test reveal a specific number of factors, or at least/at most X factors. I was thinking this could be somewhat useful when using ECM. Even a test to reveal if a number had a square or other power of factor could be useful I think. |
|
|
|
|
|
#2 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
250348 Posts |
Quote:
As you note, such knowledge can greatly help the factorization problem. An "at least / at most" function is easy to write, but useless. A number has at least one factor and at most floor(log_2(N)) factors. It's possible to produce a slightly tighter bounds without factoring (through a primality test, which can distinguish between at most 1 or at least 2) but nothing better is known. Paul |
|
|
|
|
|
|
#3 |
|
Cranksta Rap Ayatollah
Jul 2003
641 Posts |
According to Mathworld, testing a number to be squarefree is just as computationally intensive as factoring
|
|
|
|
|
|
#4 |
|
Jan 2005
Transdniestr
503 Posts |
Thanks, I suspected there wasn't anything known.
|
|
|
|
|
|
#5 | |
|
3,617 Posts |
Quote:
here`s a shortcut:- take 12 for example, it canbe written as (2^2)*(3^1) the powers of its prime factors are 2 and 1 , increment them once and then multiply , you`ll have the total number of factors as 3*2=6. To verify it,just do a manual counting of the factors.. 1,2,3,4,6,12<-----six in total try this out for any number you can think of so if a number can be factored as (a^b)*(c^d)*(e^f) then given a,c, and d are prime....the total number of factors will be (b+1)*(d+1)*(f+1). |
|
|
|
|
#6 |
|
Aug 2002
Buenos Aires, Argentina
2·683 Posts |
I think the original poster wants to know the number of prime factors of a big number without performing the actual factorization.
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Number of distinct prime factors of a Double Mersenne number | aketilander | Operazione Doppi Mersennes | 1 | 2012-11-09 21:16 |
| Estimating the number of prime factors a number has | henryzz | Math | 7 | 2012-05-23 01:13 |
| Number of factors | JohnFullspeed | Math | 2 | 2011-07-19 15:03 |
| Number of Factors for a Mersenne Number | kurtulmehtap | Math | 12 | 2010-05-03 14:02 |
| 42-bit simulalted QC factors a 14-bit number | retina | Hardware | 3 | 2010-03-31 12:59 |