TOPICS
Search

Firoozbakht's Parity Conjecture


Firoozbakht's parity conjecture (Firoozbakht 2005) asserted that every positive integer n>1 satisfying

 phi(n)=phi(n+phi(n)),

where phi(n) is the totient function, is an even number. The first positive integer solutions are 1, 4, 8, 16, 32, 64, 110, 128, 220, 256, ... (OEIS A108569).

Tetif (2026) refuted the conjecture with the odd solutions 5095354107 and 855110560461. Their totient function values are 3393612288 and 569524379904, respectively. The search and the Lean proof of the counterexamples used AI assistance. The search writes n=dp and n+phi(n)=eq with primes p and q relatively prime to d and e, respectively. For fixed d and e, the defining relations reduce to linear equations in p and q. The search was nonexhaustive.

If n is a solution and a prime number p divides both n and phi(n), it also divides n+phi(n). Multiplying an integer divisible by p by p^j multiplies its totient function value by p^j, so p^jn is a solution for every nonnegative integer j (Firoozbakht 2005, Levinstein 2026). Both counterexamples and their totient function values are divisible by 3, giving two disjoint infinite families of odd solutions. The families are disjoint because the two counterexamples are each divisible by 3 exactly once and are distinct.

The powers 2^j for j>=2 are solutions obtained by scaling the solution 4. If p>3 is a Sophie Germain prime, then n=2p(2p+1) is a solution: phi(n)=2p(p-1) and n+phi(n)=6p^2, which also has totient function value 2p(p-1) (Firoozbakht 2005).


See also

Totient Function

Explore with Wolfram|Alpha

References

Firoozbakht, F. Comments on A108569. The On-Line Encyclopedia of Integer Sequences, 2005. https://oeis.org/A108569.Levinstein, S. "Odd Solutions to phi(n)=phi(n+phi(n)): Disproving Firoozbakht's Parity Conjecture for OEIS A108569." Zenodo, Nov. 25, 2026. https://doi.org/10.5281/zenodo.24536214.Sloane, N. J. A. Sequence A108569 in "The On-Line Encyclopedia of Integer Sequences."Tetif. "OEIS A108569: The Conjecture That All Terms Except the First Are Even Is False (Odd Term 5095354107)." Formal Conjectures, Oct. 27, 2026. https://github.com/google-deepmind/formal-conjectures/issues/7643. https://github.com/google-deepmind/formal-conjectures/pull/7644.

Cite this as:

Weisstein, Eric W. "Firoozbakht's Parity Conjecture." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/FiroozbakhtsParityConjecture.html

Subject classifications