Crimson Publishers Publish With Us Reprints e-Books Video articles

Full Text

Evolutions in Mechanical Engineering

A Probabilistic Bound on the Distribution of Primes in Consecutive Intervals of Natural Numbers

Pervinder Singh*

DIT University, India

*Corresponding author:Pervinder Singh, DIT University, Uttarakhand, India

Submission: June 12, 2025;Published: June 25, 2025

DOI: 10.31031/EME.2025.06.000632

ISSN 2640-9690
Volume6 Issue2

Abstract

This research investigates the upper bound on the probability of encountering prime numbers within any set of 100 consecutive natural numbers. Specifically, it is shown that this probability cannot exceed 0.25, implying that at most 25 primes exist in such an interval. Using a combination of analytical reasoning based on the prime number theorem and a mathematical induction framework, we rigorously establish this result. The study further examines the transition between overlap-ping consecutive intervals, accounting for the inclusion or exclusion of boundary numbers and confirms the invariance of the upper bound. This result provides a deeper understanding of the density of primes in finite intervals and offers insights into their distribution properties.

Keywords: Prime number theorem; Prime counting function; Mathematical induction; Probability; Natural numbers

Introduction

Prime numbers are fundamental objects in number theory, with applications in cryptography, mathematical modelling and theoretical computer science. One long-standing area of interest is understanding the distribution of primes within finite intervals. The prime number theorem provides an asymptotic approximation for the distribution of primes up to a large number x, yet exact counts in smaller intervals often require more detailed analysis. This research focuses on a specific probabilistic bound: the likelihood of encountering a prime number in any set of 100 consecutive natural numbers. Empirical observation suggests that the number of primes in such intervals seldom exceeds 25, motivating the hypothesis that the probability of a number being prime in such an interval is bounded by 0.25. To formalize this observation, we analyze the problem through two complementary approaches:
A.Analytical reasoning using the prime number theorem: This approach estimates the density of primes in small intervals.
B.Proof by mathematical induction: This technique rigorously confirms the bounded behavior of the number of primes when transitioning between overlapping intervals of consecutive numbers.

By combining these approaches, we prove that the probability of finding a prime in any set of 100 consecutive numbers does not exceed 0.25.

Mathematical Preliminaries and Prime Number Theorem

The Prime Number Theorem (PNT) describes the asymptotic distribution of prime numbers [1]. It states that the number of prime numbers less than or equal to a given number x, denoted by π(x) and called prime counting function [2,3], is approximately given by the formula

Where, ln x is the natural logarithm of x. This theorem provides a fundamental understanding of how primes are distributed among the natural numbers. This asymptotic result guides our understanding of the average distribution of primes but does not directly answer questions about finite intervals. For smaller intervals, we rely on precise calculations of π(x) and logical reasoning to bound the number of primes.

Problem Statement

The numbers of prime number in the set A = {n, n + 1, ………n + 99: n ∈ N} cannot be more than 25. In other words, if p denotes the probability of a prime number choosing from A than .

To prove the statement using mathematical induction, we show that:
Base Case: The result holds true for n = k, where k is a positive integer.
Inductive Step: If the result holds true for n=k, we prove it also holds for n = k+1.

The statement we are proving is:

The probability of finding a prime in any set of 100 consecutive natural numbers is at most 0.25. This means:

where, π(x) is the prime-counting function.

Step 1: Base Case

For n = 1 the interval [1,100]. We calculate the number of primes in this interval. The primes in this range are: 2,3,5,7,11,13,1 7,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97.

There are 25 primes in total.

Thus, the probability is: P = 25/100 = 0.25. The base case holds true.

Step 2: Inductive Hypothesis

Assume that the statement holds true for n = k, i.e., in the interval [k, k + 100]

This implies that the number of primes in any 100 consecutive numbers starting at k is at most 25.

Step 3: Inductive Step(n=k+1)

We now prove that the statement holds for n = k + 1, i.e., in the interval [k + 1, k + 101]:

It is noted that the interval [k + 1, k + 101] overlaps significantly with [k, k + 100], except for the first number (k) and the last number (k + 101). Let us analyze this shift:
a. If k (the first number in [k, k + 100]) is a prime, it is no longer included in [k + 1, k + 101].
b. If k+101 (the new number in [k + 1, k + 101]) is a prime, it is added to the count.

Combining Both Cases The actual change in the count of primes depends on whether k and k + 101 are primes. The two cases can happen simultaneously:
If k is prime but k + 101 is not, the count decreases by 1.
If k + 101 is prime but k is not, the count increases by 1.
If both are primes, the count remains the same.
If neither are primes, the count remains the same.

Thus, the change in the number of primes is at most:

This shows that the number of primes in [k + 1, k + 101] cannot exceed 25, and the probability remains:

Therefore, by the principle of mathematical induction, the statement is true for all n ≥ 1. Thus: The numbers of prime number in the set A = {n, n +1, ……n +99: n ∈ N} cannot be more than 25. In other words, if p denotes the probability of a prime number choosing from A than

Conclusion

By mathematical induction, we have shown that the number of primes in any interval of 100 consecutive natural numbers cannot exceed 25. Consequently, the probability of encountering a prime in such intervals is at most 0.25. This result aligns with empirical observations and theoretical expectations derived from the prime number theorem, rein- forcing our understanding of prime density in finite intervals. Future work could explore similar bounds for larger or smaller intervals and examine the impact of these results on applications in cryptographic algorithms and computational number theory.

References

  1. Selberg A (1949) An elementary proof of the prime-number theorem. Annals of Mathematics 50(2): 305-313.
  2. Bach E, Shallit J (1996) Algorithmic number theory: Efficient algorithms. MIT press 1: 528.
  3. Weisstein EW (2002) Prime counting function.

About Crimson

We at Crimson Publishing are a group of people with a combined passion for science and research, who wants to bring to the world a unified platform where all scientific know-how is available read more...

Leave a comment

Contact Info

  • Crimson Publishers, LLC
  • 260 Madison Ave, 8th Floor
  •     New York, NY 10016, USA
  • +1 (929) 600-8049
  • +1 (929) 447-1137
  • info@crimsonpublishers.com
  • www.crimsonpublishers.com