Skip main navigation (Press Enter).
Log in
Toggle navigation
Log in
Community
Topic Groups
Champions
Directory
Program overview
Rising Champions
IBM Champions group
User Groups
Directory
Benefits
Events
Dev Days
Conference
Community events
User Groups events
All TechXchange events
Participate
TechXchange Group
Welcome Corner
Blogging
Member directory
Community leaders
Resources
IBM TechXchange
Community
Conference
Events
IBM Developer
IBM Training
IBM TechXchange
Community
Conference
Events
IBM Developer
IBM Training
Global AI and Data Science
×
Global AI & Data Science
Train, tune and distribute models with generative AI and machine learning capabilities
Group Home
Threads
4.1K
Blogs
912
Events
2
Library
370
Members
28.6K
View Only
Share
Share on LinkedIn
Share on X
Share on Facebook
Back to Blog List
88 percent of all integers have a factor under 100
By
Moloy De
posted
Thu March 04, 2021 08:36 PM
Like
The vast majority of big numbers have small factors. Also, the chance to be a prime becomes incredibly small, the bigger the number. 92 percent of all positive integers have a factor under 1,000. And how many have a factor under 6?
To answer this question, let's first define p(m) as the proportion of integers that are divisible by one (or more) of the first m prime numbers. One can show that
where the product is over the first m prime numbers. In particular, the proportion of integers with a factor under 6 is p(3) = 1 - (1 - 1/2)(1 - 1/3) (1 - 1/5) = 73%. The above mathematical formula can be derived using arguments.
To answer the more general question about the proportion of integers having a factor under n, one must choose m such that the last prime in the above product is the largest prime number smaller than n. Using the prime number theorem, it is easy to get an approximation for m as n tends to infinity. Also, taking the logarithm of the product, one can finally answer the question using approximations based on the prime number theorem.
Using the exact formula for p(m), it is also easy to built a table for the proportion p(n) of positive integers with a factor under n, see table below:
Here, by divisor, I mean a non-trivial divisor. For instance, the largest divisor of 45 is 15, not 45. One can study the following recurrence relationships:
1. f(n+1) is the largest prime factor of 3 f(n) + 1, with f(1) = 1.
2. Same if f(n+1) is defined as the largest prime factor of 2 f(n) + 5, with f(1) = 1.
Are all these functions turning periodic, beyond some n? What about
1. f(n+1) is the largest divisor of {f(n)}^2 + 1, with f(1) = 1.
2. f(n+1) is the largest divisor of {f(n)}^2 - 2, with f(1) = 3.
Why is the last function growing so fast? Are prime numbers over-represented among the values of f(n)? Can these functions be used to build large prime numbers? Is it possible that for some n, {f(n)}^2 - 2 (say) does not have a non-trivial divisor, which means that it is a prime number and that f(n+1) does not exist?
QUESTION I : Can there be a function f such that f(n) is the n-th prime?
QUESTION II : How difficult is factorizing large numbers?
REFERENCE :
Data Science Central Blog by Vincent Granville
#GlobalAIandDataScience
#GlobalDataScience
0 comments
2 views
Permalink
Copy
https://community.ibm.com/community/user/blogs/moloy-de1/2021/03/04/points-to-ponder
Powered by Higher Logic