Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Polynomial mapping primes to primes

Number theory

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

Consider a non constant polynomial P∈Z[X]P\in\mathbb{Z}[X]P∈Z[X] sending prime numbers to prime numbers. I encountered on the web two different proofs that PPP is the identity polynomial, one on mathoverflow here and another one (somehow stated in more elementary words) there. The point is : both proof use the Dirichlet progression Theorem and I am wondering if there is any way to prove this fact without the use of such a deep result. As a matter a fact, it seems that the second proof only uses that

There exists only a finite number of pair of distinct primes (p,q)(p,q)(p,q) such that p+Nqp +\mathbb{N} qp+Nq contains a finite number of primes.

Using the Dirichlet progression Theorem, the finite number of the previous statement is zero, of course. But is there any (if possible elementary) argument to prove the above result ?

Thanks for any help.

Edit : I did not manage to find any more elementary proof to characterize those integers polynomials sending primes to primes. However (for what it worth) I give below an elementary proof of a different (related) result. It is possible that a simpler proof exists, would be happy to read it. Denote by P\mathscr{P}P the set of all prime numbers.

If P∈Z[X]P\in\mathbb{Z}[X]P∈Z[X] satisfies P(P)=PP(\mathscr{P}) = \mathscr{P}P(P)=P, then P(X)=±XP(X)=\pm XP(X)=±X.

The case deg⁡(P)=1\deg(P)=1deg(P)=1 is easily handled, so that we just have to prove that deg⁡(P)>1\deg(P)>1deg(P)>1 is impossible. Note that if P(P)=PP(\mathscr{P}) = \mathscr{P}P(P)=P, then for all n∈N∗n\in\mathbb{N}^*n∈N∗ we have also Pn(P)=PP_n(\mathscr{P}) = \mathscr{P}Pn​(P)=P, where Pn=P∘⋯∘PP_n = P\circ \cdots \circ PPn​=P∘⋯∘P is the nnn-th iterate of PPP. In particular, for al (p,n)∈P×N(p,n)\in\mathscr{P}\times\mathbb{N}(p,n)∈P×N there exists qn∈Pq_n\in\mathscr{P}qn​∈P such that Pn(qn)=pP_n(q_n) = pPn​(qn​)=p. Since deg⁡(Pn)>deg⁡(P)>1\deg(P_n)>\deg(P)>1deg(Pn​)>deg(P)>1 the (discrete) sequence (qn)n(q_n)_n(qn​)n​ is bounded, thus taking a certain value qp∈Pq_p\in\mathscr{P}qp​∈P infinitely many times, i.e. the equation Pn(qp)=pP_n(q_p)=pPn​(qp​)=p holds for an infinity of natural integers. If (pk)k(p_k)_k(pk​)k​ is an enumeration of P\mathscr{P}P, one can thus produce a diagonal extraction φ:N→N\varphi:\mathbb{N}\rightarrow \mathbb{N}φ:N→N such that Pφ(n)(qp)=pP_{\varphi(n)}(q_p)=pPφ(n)​(qp​)=p holds for all (p,n)∈P×N(p,n)\in\mathscr{P}\times\mathbb{N}(p,n)∈P×N. But this means that Pφ(n)P_{\varphi(n)}Pφ(n)​ and Pφ(n+1)P_{\varphi(n+1)}Pφ(n+1)​ take the same value on an infinite set (since p↦qpp\mapsto q_pp↦qp​ is obviously injective) : the sequence Pφ(n)P_{\varphi(n)}Pφ(n)​ is constant. This contradicts deg⁡(P)>1⇒deg⁡(Pn+1)>deg⁡(Pn)\deg(P)>1\Rightarrow\deg(P_{n+1})>\deg(P_n)deg(P)>1⇒deg(Pn+1​)>deg(Pn​).

As for the general result, this means that we "just" need to prove that such polynomials are onto ... I also tried to used the iterated polynomials but did not succeed.

Statement and context adapted from MathOverflow · Ayman Moussa

CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history

A few useful definitions

Prime number
An integer greater than 1 whose only positive divisors are 1 and itself. Examples include 2, 3, 5 and 7.

Topics : nt.number-theory · prime-numbers

Authors listed by the source : Ayman Moussa

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : April 23, 2017

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · 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)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni