A prime generating algorithm
Importado el
El foro clasificaba esta pregunta como sin respuesta en la fecha de recopilación. Esto no certifica un problema abierto de investigación; consulta las respuestas y el historial de la fuente.
Los enunciados y resúmenes están en inglés. Los conceptos de apoyo y los artículos de Wikipedia disponibles en español ayudan a comprenderlos. La fuente conserva la formulación completa y el debate.
Enunciado del problema (inglés)
I posted this question in MSE around a month ago, but didn't receive any suitable answers. So, I decided to give it a try here as well-
I was trying to explain the famous proof of infinitude of primes to a young one, and I tried to explicitly show some examples. So, I said something like
Let the only primes be . Then which is a prime.
So, let the only primes be . This time which introduces two more "new primes" in the list.
But, this led me to a different question. In both the mentioned cases, as in general, if we start with the first primes, the "new prime" is the list will not be the -th prime. So, my question is, if we start with a finite number of primes, and go on repeating this algorithm, are we bound to hit all the primes? If not, then what are the primes that we may hit or miss?
So, let me frame the question once again in a more mathy way
Let be a finite set of primes. Apply the following algorithm:
-
Define .
-
If is prime, add to the set , i.e., take .
-
If is not prime, let where . Add to , i.e., take .
-
Repeat steps 1, 2, 3 using updated .
Euclid's proof guarantees that this algorithm will never stop. The question is, for what initial "seeds" is this algorithm guaranteed to hit some given prime in a finite number of steps (if that's possible)? If it indeed does, then how many steps will it take? If not, then for some given initial seed , what are the primes that we can be sure to miss? What changes (if any) will we notice if we change the 3rd step of the algorithm to "take " (i.e., instead of updating the list with the least new prime, we are updating it with all the new primes)?
Although the question apparently seems to be quite elementary, I don't see any obvious way to proceed. I just feel like we need some analytic tools to answer this. I would love to know your thoughts on it.
OEIS A051342 pointed out by Steven Clark and the talk Booker and Pomerance - Euclidean prime generators by Gerry Myerson may be of some help.
An answer by Will Jagy to the MSE question (that I linked at the beginning) gives us an idea of the algorithm using a computer programme. That may of be some help as well.
Enunciado y contexto adaptados de MathOverflow · Sayan Dutta
CC BY-SA 4.0 · Formato adaptado; fórmulas matemáticas conservadas · Historial de la fuente
Conceptos para comprender
- Número primo
- Un entero mayor que 1 cuyos únicos divisores positivos son 1 y él mismo. Por ejemplo: 2, 3, 5 y 7.
Fuentes y estado original
- MathOverflow Estado en la fuente : unanswered at collection
Última actividad en la pregunta :
Cobertura, fuentes y método
Este contador mide las fichas importadas, incluidas variantes distintas. No cuenta todas las preguntas matemáticas abiertas del mundo. Una ficha puede pertenecer a varias áreas y fuentes.
El repertorio no es exhaustivo ni se actualiza en tiempo real. « Abierto según la fuente » describe la clasificación observada al importar; no se ha verificado independientemente cada ficha importada. Las 32 fichas explicadas se revisaron por separado.
Formal Conjectures: se conservan solo enunciados « research open » sin prueba formal indicada; se comprueba su etiqueta en una versión concreta del repositorio. Las variantes siguen separadas. Un « sorry » no basta para establecer que el problema sigue abierto.
Erdős: se excluyen problemas resueltos, independientes o con una solución Lean, incluidos los « open (Lean) ». Se fusionan las coincidencias exactas con los enunciados principales de Formal Conjectures.
Open Problem Garden: se contrasta el índice abierto con el de resueltos; se excluyen spam, copias identificadas y algunos estados obsoletos. Los enunciados y sus definiciones se atribuyen a las páginas originales; se conservan las fórmulas y el contenido sigue bajo la GFDL. Se agrupan los duplicados reconocidos, sin resolver todas las equivalencias matemáticas.
OEIS: extracción directa de comentarios y fórmulas conjeturales, una ficha por sucesión, excluyendo resoluciones mencionadas. MathOverflow y Math Stack Exchange: preguntas clasificadas sin respuesta por su API, excluyendo publicaciones cerradas y categorías ajenas a la investigación. Se distinguen de los problemas señalados como abiertos. La colección es parcial y fechada; cada ficha atribuye autores y licencia.
Las exclusiones documentadas tienen en cuenta anuncios recientes y estados contradictorios. Una variante más fuerte o un caso particular puede seguir abierto tras resolverse otro enunciado.
Atribución: The Formal Conjectures Authors; teorth/erdosproblems y sus colaboradores; Open Problem Garden y sus colaboradores. Cada fuente conserva su licencia.
- Formal Conjectures · 1924 · Apache-2.0 / CC-BY-4.0
- Erdős Problems (teorth) · 622 · Apache-2.0
- Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
- OEIS · 18.857 · CC BY-SA 4.0
- MathOverflow · 19.035 · CC BY-SA (version on each entry)
- Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)