mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Math

Reply
 
Thread Tools
Old 2005-01-28, 18:08   #1
grandpascorpion
 
grandpascorpion's Avatar
 
Jan 2005
Transdniestr

503 Posts
Default Number of factors

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.
grandpascorpion is offline   Reply With Quote
Old 2005-01-28, 19:12   #2
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

250348 Posts
Default

Quote:
Originally Posted by grandpascorpion
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.
I hope it's not a naive question, but fear that it is.

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
xilman is offline   Reply With Quote
Old 2005-01-28, 19:57   #3
Orgasmic Troll
Cranksta Rap Ayatollah
 
Orgasmic Troll's Avatar
 
Jul 2003

641 Posts
Default

According to Mathworld, testing a number to be squarefree is just as computationally intensive as factoring
Orgasmic Troll is offline   Reply With Quote
Old 2005-01-29, 14:22   #4
grandpascorpion
 
grandpascorpion's Avatar
 
Jan 2005
Transdniestr

503 Posts
Default

Thanks, I suspected there wasn't anything known.
grandpascorpion is offline   Reply With Quote
Old 2005-03-03, 16:34   #5
nuclear
 

3,617 Posts
Default

Quote:
Originally Posted by grandpascorpion
Thanks, I suspected there wasn't anything known.
do you want to find the total number of factors for a nonprime number?

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).
  Reply With Quote
Old 2005-03-03, 17:17   #6
alpertron
 
alpertron's Avatar
 
Aug 2002
Buenos Aires, Argentina

2·683 Posts
Default

I think the original poster wants to know the number of prime factors of a big number without performing the actual factorization.
alpertron is offline   Reply With Quote
Reply

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

All times are UTC. The time now is 15:07.


Mon Aug 2 15:07:27 UTC 2021 up 10 days, 9:36, 0 users, load averages: 2.98, 3.05, 3.23

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.