I have large integer $N$. What is the probability that it has at least one factor that is less than $B$?
2026-03-30 14:18:03.1774880283
What is the probability that a large integer has at least one small factor?
73 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in PROBABILITY
- How to prove $\lim_{n \rightarrow\infty} e^{-n}\sum_{k=0}^{n}\frac{n^k}{k!} = \frac{1}{2}$?
- Is this a commonly known paradox?
- What's $P(A_1\cap A_2\cap A_3\cap A_4) $?
- Prove or disprove the following inequality
- Another application of the Central Limit Theorem
- Given is $2$ dimensional random variable $(X,Y)$ with table. Determine the correlation between $X$ and $Y$
- A random point $(a,b)$ is uniformly distributed in a unit square $K=[(u,v):0<u<1,0<v<1]$
- proving Kochen-Stone lemma...
- Solution Check. (Probability)
- Interpreting stationary distribution $P_{\infty}(X,V)$ of a random process
Related Questions in NUMBER-THEORY
- Maximum number of guaranteed coins to get in a "30 coins in 3 boxes" puzzle
- Interesting number theoretical game
- Show that $(x,y,z)$ is a primitive Pythagorean triple then either $x$ or $y$ is divisible by $3$.
- About polynomial value being perfect power.
- Name of Theorem for Coloring of $\{1, \dots, n\}$
- Reciprocal-totient function, in term of the totient function?
- What is the smallest integer $N>2$, such that $x^5+y^5 = N$ has a rational solution?
- Integer from base 10 to base 2
- How do I show that any natural number of this expression is a natural linear combination?
- Counting the number of solutions of the congruence $x^k\equiv h$ (mod q)
Related Questions in ANALYTIC-NUMBER-THEORY
- Justify an approximation of $\sum_{n=1}^\infty G_n/\binom{\frac{n}{2}+\frac{1}{2}}{\frac{n}{2}}$, where $G_n$ denotes the Gregory coefficients
- Is there a trigonometric identity that implies the Riemann Hypothesis?
- question regarding nth prime related to Bertrands postulate.
- Alternating sequence of ascending power of 2
- Reference for proof of Landau's prime ideal theorem (English)
- Does converge $\sum_{n=2}^\infty\frac{1}{\varphi(p_n-2)-1+p_n}$, where $\varphi(n)$ is the Euler's totient function and $p_n$ the $n$th prime number?
- On the behaviour of $\frac{1}{N}\sum_{k=1}^N\frac{\pi(\varphi(k)+N)}{\varphi(\pi(k)+N)}$ as $N\to\infty$
- Analytic function to find k-almost primes from prime factorization
- Easy way to prove that the number of primes up to $n$ is $\Omega(n^{\epsilon})$
- Eisenstein Series, discriminant and cusp forms
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
If $N$ has some factor less than or equal to $B$, then it must have some prime factor less than or equal to $B$.
Let the number of primes less than or equal to $B$ be $\pi(B)$.
According to the prime number theorem, this is asymptotically $$\pi(B) \sim \frac{B}{\ln B}$$
If $p_n$ is the $n^{\text{th}}$ prime number, then $p_{\pi(B)}$ is the largest prime less than $B$.
If $N$ is significantly larger than the primorial $p_{\pi(B)}\#$, then we can assume that the probability that $N$ is divisible by any of the first $\pi(B)$ primes is approximately equal to the probability that any natural number chosen from $\{1,2,3,4,...,p_{\pi(B)}\#-1, p_{\pi(B)}\#\}$ is divisible by any of the first $\pi(B)$ primes.
We can proceed now by inclusion-exclusion.
Let $$S = \{1,2,3,4,...,p_{\pi(B)}\#-1, p_{\pi(B)}\#\}$$
$$T = \{2,3,5,7,..., p_{\pi(B)-1}, p_{\pi(B)}\}$$
$$R = \{1,2,3,4,...,\pi(B)-1, \pi(B)\}$$
Suppose $s$ is chosen uniformly randomly from the elements of $S$. We want to know the probability that this randomly chosen $s\in S$ is divisible by some prime factor $t\in T$.
The number of elements $s\in S$ that are divisible by $p_1=2$ is $$\left\lfloor\frac{p_{\pi(B)}\#}{2}\right\rfloor$$
The number of elements $s\in S$ that are divisible by $p_n$ is likewise $$\left\lfloor\frac{p_{\pi(B)}\#}{p_n}\right\rfloor$$
Our first count of the number of elements of $S$ that are divisible by some prime factor in $T$, grossly overcounting, is therefore
$$\displaystyle\sum_{k=1}^{\pi(B)}\left\lfloor\frac{p_{\pi(B)}\#}{p_k}\right\rfloor$$
We must now count the elements of $S$ that have exactly two prime factors in $T$, since we've counted those twice.
The number of elements $s \in S$ that are divisible by $p_1p_2 = 2\cdot 3=6$ is
$$\left\lfloor\frac{p_{\pi(B)}\#}{6}\right\rfloor$$
The number of elements $s\in S$ that are divisible by $p_i$ and $p_j$ is likewise $$\left\lfloor\frac{p_{\pi(B)}\#}{p_ip_j}\right\rfloor$$
We'll have to subtract all terms of this form, for any two distinct choices of $i,j \in R$
After that, we'll have to add back terms of the form $$\left\lfloor\frac{p_{\pi(B)}\#}{p_ip_jp_k}\right\rfloor$$ because those terms will have been undercounted.
Then we'll need to subtract terms of the form $$\left\lfloor\frac{p_{\pi(B)}\#}{p_ip_jp_kp_l}\right\rfloor$$
In general, if there are an even number of prime factors then the term with their product in the denominator will be subtracted, and if there are an odd number of prime factors then the term with their product in the denominator will be added.
Let the power set of $R$ be $\mathcal{P}(R)$. Then for any set $A \in \mathcal{P}(R)$, the corresponding term that we must include or exclude is $$\left\lfloor\displaystyle\frac{p_{\pi(B)}\#}{\displaystyle\prod_{k\in A} p_k}\right\rfloor$$
Whether or not we subtract or add this term is dependent on the cardinality of $A$, so we can incorporate this by multiplying by $(-1)^{|A|}$.
The final result of the whole inclusion-exclusion calculation is
$$\displaystyle\sum_{A\in \mathcal{P}(R)} \left(\left(-1\right)^{|A|}\left\lfloor\displaystyle\frac{p_{\pi(B)}\#}{\displaystyle\prod_{k\in A} p_k}\right\rfloor\right)$$
This is the number of elements $s\in S$ that are not divisible by some prime factor $t \in T$.
Since $S$ has $p_{\pi(B)}\#$ elements, the probability that a randomly chosen element of $S$ has some factor $t \in T$ is $$P(N \text{ has some factor less than or equal to } B) \,\,\, \approx \,\,\,1 - \displaystyle\frac{\displaystyle\sum_{A\in \mathcal{P}(R)} \left(\left(-1\right)^{|A|}\left\lfloor\displaystyle\frac{p_{\pi(B)}\#}{\displaystyle\prod_{k\in A} p_k}\right\rfloor\right)}{p_{\pi(B)}\#}$$
where