image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

Go Back   Physics Forums > Mathematics > Number Theory


Reply

image Number of prime factors Share It Thread Tools Search this Thread image
Old May25-09, 10:25 PM                  #1
soandos

soandos is Offline:
Posts: 149
Number of prime factors

Is there a function f(x) that will give the average number of prime factors for x_1 0<x_1<x, in a way similar to the way that Li(x)/x gives the approximate odds that a number from 0 to x is prime?
  Reply With Quote
Old May26-09, 02:04 AM                  #2
CRGreathouse

CRGreathouse is Offline:
Posts: 2,939
Recognitions:
Homework Helper Homework Helper
Science Advisor Science Advisor
Re: Number of prime factors

log log x.
  Reply With Quote
Old May26-09, 03:49 AM                  #3
soandos

soandos is Offline:
Posts: 149
Re: Number of prime factors

I tried that for x = 1000, 10,000, 100,000, and it did not work for any of them.
I got the number of factors for 1000 to be 2.87 on average, 3.19 for 10,000, and 3.43 for 100,000
Did I do something wrong?
  Reply With Quote
Old May26-09, 10:35 AM                  #4
CRGreathouse

CRGreathouse is Offline:
Posts: 2,939
Recognitions:
Homework Helper Homework Helper
Science Advisor Science Advisor
Re: Number of prime factors

There's a constant factor which depends on what you mean by "prime factor". From your numbers I take it you're counting indistinct prime factors, in which case the constant is 1.03465388....

It predicts an average of (2.97, 3.25, 3.48) versus your calculated (2.87, 3.19, 3.43). It will get more accurate as the numbers involved increase. For example, I calculated A071811(9) = 4044220058, which compares favorably to the predicted 4065910904.

It should be possible to work out a second-order term (which would be negative) to correct for the presence of small numbers, if you care about that kind of precision.
  Reply With Quote
Old May26-09, 12:06 PM                  #5
soandos

soandos is Offline:
Posts: 149
Re: Number of prime factors

where would the constant go?
  Reply With Quote
Old May26-09, 01:07 PM                  #6
CRGreathouse

CRGreathouse is Offline:
Posts: 2,939
Recognitions:
Homework Helper Homework Helper
Science Advisor Science Advisor
Re: Number of prime factors

Originally Posted by soandos View Post
where would the constant go?
Expected number of prime factors per number up to x = 1.03465388... + log log x.
  Reply With Quote
Old May26-09, 05:13 PM                  #7
soandos

soandos is Offline:
Posts: 149
Re: Number of prime factors

how did you arrive at this constant?
  Reply With Quote
Old May26-09, 07:03 PM                  #8
CRGreathouse

CRGreathouse is Offline:
Posts: 2,939
Recognitions:
Homework Helper Homework Helper
Science Advisor Science Advisor
Re: Number of prime factors

Originally Posted by soandos View Post
how did you arrive at this constant?
I didn't just derive it: the constant is well-known. It's B2, Sloane's A083342.
  Reply With Quote
image image
Reply
Thread Tools


Similar Threads for: Number of prime factors
Thread Thread Starter Forum Replies Last Post
a prime number which equals prime numbers MathematicalPhysicist General Math 10 Jul21-09 06:20 PM
Theory of Ideal Prime Factors Zucchini Set Theory, Logic, Probability, Statistics 3 Oct10-05 03:08 AM
A formula of prime numbers for interval (q; (q+1)^2), where q is prime number. Victor Sorokine Number Theory 0 Jul21-05 03:37 PM
Obtaining the number of factors from prime factorization danne89 General Math 3 Jul2-05 08:45 AM
A query that has only got two different prime factors QuantumNet Number Theory 5 Dec9-03 07:50 AM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image