# I think I discovered a pattern for prime numbers

• A
In summary, a prime number is a positive integer that is only divisible by 1 and itself. There are several methods for determining if a number is prime, but there is no known formula or pattern for generating all prime numbers. Despite many attempts, no such pattern has been discovered, and finding one would have significant implications in mathematics and computer science. However, after centuries of research, no one has been able to find a pattern for prime numbers, making it one of the most famous unsolved problems in mathematics.

TL;DR Summary
I think I discovered a pattern for prime numbers
I wrote a program that implements the pattern and finds the primes automatically. It worked up to 70 million then it crashed because program holds data in RAM so it can be fixed. It found all the primes up to 70 million and found no exception. I won't explain the pattern because its so complicated and its not officially mine. I couldn't find any documents about this pattern and I think its a new thing. What should I do?

Summary: I think I discovered a pattern for prime numbers

I wrote a program that implements the pattern and finds the primes automatically. It worked up to 70 million then it crashed because program holds data in RAM so it can be fixed. It found all the primes up to 70 million and found no exception. I won't explain the pattern because its so complicated and its not officially mine. I couldn't find any documents about this pattern and I think its a new thing. What should I do?
The pattern you have found is
$$\pi(x) \approx \operatorname{Li}(x)=\displaystyle{\int_2^x \dfrac{dt}{\log t}}$$

Anything else can frankly be considered wrong. See
https://www.physicsforums.com/insights/the-history-and-importance-of-the-riemann-hypothesis/
and if you are interested in details
https://www.physicsforums.com/insights/the-extended-riemann-hypothesis-and-ramanujans-sum/.

Since it is highly unlikely that you have solved the Riemann conjecture, and even if, it certainly won't fit our format, this thread is closed.

dextercioby

## What is a prime number?

A prime number is a positive integer that is only divisible by 1 and itself. Examples include 2, 3, 5, 7, 11, and so on.

## How can I tell if a number is prime?

There are several methods for determining if a number is prime, including trial division, the Sieve of Eratosthenes, and the AKS primality test. However, there is no known formula or pattern for generating all prime numbers.

## What is a pattern for prime numbers?

A pattern for prime numbers would be a predictable sequence or formula that can generate all prime numbers. However, despite many attempts, no such pattern has been discovered.

## Why is finding a pattern for prime numbers important?

Finding a pattern for prime numbers would have significant implications in mathematics and computer science. It could lead to more efficient methods for finding and generating prime numbers, which are essential in many fields, including cryptography and number theory.

## Has anyone discovered a pattern for prime numbers?

No, despite centuries of research and countless attempts, no one has been able to find a pattern for prime numbers. It remains one of the most famous unsolved problems in mathematics.