Community
Search Options
Search Options
Log in
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
AI and Data Science
Topic areas
AI and DS Skills
Decision Optimization
Embeddable AI
Global AI and Data Science
IBM Advanced Studies
SPSS Statistics
watsonx Assistant
Watson Discovery
User groups
Events
Upcoming AI Events
IBM TechXchange Webinars
All IBM TechXchange Community Events
Participate
Gamification Program
Community Manager's Welcome
Post to Forum
Share a Resource
Share Your Expertise
Blogging on the Community
Connect with Data Science Users
All IBM TechXchange Community Users
Resources
IBM TechXchange Group
AI Learning
IBM Champions
IBM Cloud Support
IBM Documentation
IBM Support
IBM Technology Zone
IBM Training
TechXchange Conference
IBM TechXchange Conference 2024
Marketplace
Marketplace
AI and Data Science
Master the art of data science.
Join now
Skip main navigation (Press Enter).
Toggle navigation
Search Options
Global AI and Data Science
Group Navigator
View Only
Community Home
Discussion
2.2K
Library
272
Blogs
731
Events
4
Members
27.9K
Share
88 percent of all integers have a factor under 100
By
Moloy De
posted
Thu March 04, 2021 08:36 PM
0
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
IBM Community Home
Browse
Discussions
Resources
Groups
Events
IBM TechXchange Conference 2023
IBM Community Webinars
All IBM Community Events
Participate
Gamification Program
Community Manager's Welcome
Post to Forum
Share a Resource
Blogging on the Community
All IBM Community Users
Resources
Community Front Porch
IBM Champions
IBM Cloud Support
IBM Documentation
IBM Support
IBM Technology Zone
IBM Training
Marketplace
Marketplace
AI and Data Science
Topic areas
AI and DS Skills
Decision Optimization
Embeddable AI
Global AI and Data Science
IBM Advanced Studies
SPSS Statistics
watsonx Assistant
Watson Discovery
User groups
Events
Upcoming AI Events
IBM TechXchange Webinars
All IBM TechXchange Community Events
Participate
Gamification Program
Community Manager's Welcome
Post to Forum
Share a Resource
Share Your Expertise
Blogging on the Community
Connect with Data Science Users
All IBM TechXchange Community Users
Resources
IBM TechXchange Group
AI Learning
IBM Champions
IBM Cloud Support
IBM Documentation
IBM Support
IBM Technology Zone
IBM Training
TechXchange Conference
IBM TechXchange Conference 2024
Marketplace
Marketplace
Copyright © 2019 IBM Data Science Community. All rights reserved.
Powered by Higher Logic