Open-access mathematical research insights
About Contact
Home / Erdos Problems / Problem #409

Problem #409: How many iterations of $n\mapsto \phi(n)+1$ are needed...

How many iterations of $n\mapsto \phi(n)+1$ are needed before a prime is reached? Can infinitely many $n$ reach the same prime? What is the density...

Problem Statement

How many iterations of $n\mapsto \phi(n)+1$ are needed before a prime is reached? Can infinitely many $n$ reach the same prime? What is the density of $n$ which reach any fixed prime?
Categories: Number Theory Iterated Functions

Progress

A problem of Finucane. One can also ask similar questions about $n\mapsto \sigma(n)-1$: do iterates of this always reach a prime? If so, how soon? (It is easily seen that iterates of this cannot reach the same prime infinitely often, since they are non-decreasing.)

This problem is somewhat ambiguously phrased. Let $F(n)$ count the number of iterations of $n\mapsto \phi(n)+1$ before reaching a prime. The number of iterations required is A039651 in the OEIS.

Cambie notes in the comments that $F(n)=o(n)$ is trivial, and $F(n)=1$ infinitely often. Presumably the intended question is to find 'good' upper bounds for $F(n)$.

This is discussed in problem B41 of Guy's collection [Gu04].

Source: erdosproblems.com/409 | Last verified: January 14, 2026

Stay Updated

Get weekly digests of new research insights delivered to your inbox.