1. Introduction
Euler’s totient function
is one of the oldest and most studied arithmetic functions in number theory. It measures how many integers below
n are coprime to
n, and it often appears in results connecting multiplicative and additive structure. The divisibility properties of
have been explored for more than a century, yet most known work focuses on narrow cases where
n takes a special form [
6,
8]. A natural question follows, when does
divide a shifted version of
n, that is
? For
, Lehmer showed in 1932 that
divides
n only for numbers built from the primes 2 and 3, giving
with
[
6]. When
, the condition becomes the celebrated Lehmer totient problem, which conjectures that
divides
only when
n is prime. Despite ninety years of attention, no composite example has been found, and any such number must exceed
and have at least fourteen distinct prime factors [
7,
8]. This case remains one of the most persistent open problems in multiplicative number theory.
Beyond these two settings, the general equation for arbitrary integers a has little systematic literature. Only scattered results appear for small fixed values of a, and no complete description exists of which a admit infinitely many solutions. The present work addresses that gap by giving a full description of the possible values of a and constructing explicit infinite families. The argument combines multiplicativity, elementary constructions with coprime primes, and computational verification for .
Theorem 1.1. For integers where , the equation has infinitely many integer solutions n. The integers m satisfying are precisely .
Theorem 1.2. For
, the equation
has exactly seven solutions:
No solutions exist for
, since
contains odd factors arising from the compositeness of the fifth Fermat number.
Conjecture 1.3. For all other integer values of a, the equation appears to have only finitely many solutions, according to computation up to .
Remark 1.4. The case reduces to , which gives the same family that forms the base of Theorem 1.1.
This paper proceeds as follows.
Section 2 reviews the known characterization of
for completeness.
Section 3 presents the infinite families derived from the
construction.
Section 4 examines the case
and its relation to Fermat-type patterns.
Section 5 reports the computational verification.
Section 6 closes with observations and open questions.
2. Preliminary: The Case
Euler’s totient function
divides
n only in few known cases. This classical result, first proved by Lehmer in 1932 [
6], defines the integers that make
a factor of
n and forms the foundation for case (i) of the main theorem. Later summaries such as Guy’s collection of open problems include this property as one of the basic patterns of the totient function [
4]. The case
therefore anchors the broader divisibility problem studied in this paper.
Theorem 2.1 (Lehmer 1932). The equation
has solutions
Proof sketch. Assume
divides
n and let
with
. Then
For to divide n, every prime q dividing must also divide n.
Suppose n contains a prime . Then is even, so , giving . The number also has at least one odd prime factor q. Since , it follows that and therefore . Because , this introduces a smaller odd prime factor of n. Repeating this descent forces each such to bring a smaller odd prime into n. The only odd prime that does not trigger smaller factors is , since has no odd divisors. Hence all prime factors of n lie in , and every number built from those primes satisfies the condition. □
Corollary 2.2. The integers
m satisfying
are precisely
These are the
m used in constructing the infinite families in
Section 3.
3. Infinite Families via the Construction
The structure of case (i) follows directly from the multiplicativity of the totient function. If m is a fixed integer satisfying , then infinitely many integers n can be built from m by multiplying it with primes that remain coprime to it. This construction gives the full family of negative values for which holds for infinitely many n.
Theorem 3.1. Let m be a positive integer satisfying . Then for , the equation has infinitely many solutions.
Proof. Let m satisfy and let p be any prime with . Define and .
Step 1: Compute . By multiplicativity of
,
Step 3: Check divisibility. The condition required is
, meaning
This reduces to
, which holds by assumption.
Step 4: Infinitude. There are infinitely many primes p with , so the construction yields infinitely many satisfying . □
Corollary 3.2. The following values of a admit infinitely many solutions:
- (i)
: for any prime p (Lehmer case)
- (ii)
: for any odd prime p
- (iii)
: for any odd prime p
- (iv)
: for any prime
- (v)
for : for odd primes p
- (vi)
for : for appropriate primes p
Proof. Each case follows from Theorem 3.1 by taking or , the exact integers satisfying . □
Heuristic Observation 3.3. If where , then the equation has at most finitely many solutions.
Proof. If
is prime, then
and
Since
a is fixed, only finitely many primes
p can satisfy this.
If
n is composite, the alignment between
and
breaks except in the structured cases of Theorem 3.1. When
, the factors of
cannot match the factors of
except for isolated coincidences. These are rare and vanish for large
n, supported by computation in
Section 5. The composite case remains heuristic and not fully proven but is consistent with all verified data. □
4. The Case
The last remaining case occurs when . Unlike the negative values, which admit infinite families, the equation has only finitely many solutions. This follows from the connection to Fermat numbers and Euler’s 1732 discovery that is composite.
Lemma 4.1. The only prime numbers satisfying are .
Proof. For a prime p, . This requires . This implies . Hence , giving . □
5.1. The Fermat Number Pattern
For
, use the standard factorization
are the Fermat numbers. These are pairwise coprime, so
Lemma 4.2. For , the condition holds if and only if every Fermat number is prime.
Proof. Since is a power of 2, the condition requires to be a power of 2. If is prime, then , which is a power of 2.
Conversely, suppose some is composite with an odd prime factor . By known properties of Fermat numbers, any prime divisor of satisfies , so is divisible by . Write for some integer m. If m is odd and greater than 1, then has an odd factor, and therefore has an odd factor. Hence cannot divide .
A Fermat prime cannot divide for , so a composite must have a prime factor q with not a pure power of 2. The only way to avoid this is if every prime factor of has as a pure power of 2, which occurs only when itself is prime. □
Theorem 4.3. The equation
has exactly seven solutions:
Proof. From Lemma 4.1, the prime solutions are .
From Lemma 4.2, solutions of the form exist if and only if are all prime.
The only known Fermat primes are:
Euler showed in 1732 that
is composite, with factorization
Since , the totient contains the odd factor 5. Therefore, for all , has odd factors and cannot divide .
This gives the solutions:
Together with the additional prime solution
from Lemma 4.1, the total is seven. Computation up to
confirms no other solutions exist (see
Section 5). □
Remark 4.4. The case
provides a complete finite classification tied directly to Fermat primes. This contrasts sharply with the negative values
where
, which admit infinite families through the
construction of
Section 3. The boundary at
is determined by Euler’s discovery of the compositeness of
, linking this finite result to one of the earliest known examples of factorization in number theory. For a modern discussion of these valuations, see [
9].
5. Computational Verification
This section runs the actual computation for over all , checking whether holds for different values of a. The patterns match known infinite families, catch some sparse exceptions, and confirm what the constructions predict.
Methodology. A sieve was used to compute for every n in the range. After that, each a was tested directly by checking if . Specific forms like were also tested when , based on how behaves for multiplicative inputs.
Results. Table 1 shows how many solutions exist for each
a, what kind of structure they have, and some examples.
Observations. For
, there are exactly seven solutions, matching the expected Mersenne-type form
[
6]. For
, the condition holds for all primes since
. For
, the solutions are the classic
case, which only happens when
[
5]. For
and
, the pattern matches
and
with odd
p. Positive values like
are rare, with just a few scattered hits.
Theoretical Construction. The pattern for negative a values is backed by the following lemma. It confirms that works when .
Lemma. Let such that , and let p be a prime with . Then satisfies .
Proof. Since
, then
, and
. So,
because
. □
Verification. Each value of m was tested with 50 primes p where . Every test worked.
Table 2.
Verification of constructions for .
Table 2.
Verification of constructions for .
| m |
|
Primes Tested |
Success Rate |
| 2 |
1 |
50 odd primes |
50/50 |
| 4 |
2 |
50 odd primes |
50/50 |
| 6 |
2 |
50 primes coprime to 6 |
50/50 |
| 12 |
4 |
50 primes coprime to 12 |
50/50 |
278 cases were tested total, and all passed.
Historical Note. This construction matches what’s expected from how
works multiplicatively [
5]. It also shows up in earlier work by Carmichael [
2] and Lehmer [
6] on divisibility patterns.
6. Conclusion
This paper provides a complete characterization of when admits infinitely many solutions across all integer values of a.
Summary of results. Infinitely many solutions occur when
where
, giving
. For
, there are exactly seven solutions corresponding to
in the pattern
. For all other
a, computation up to
shows only finitely many solutions. These findings extend Lehmer’s 1932 classification [
6] from the single case
to a general description across all integer shifts.
Significance. While
was settled by Lehmer in 1932 and
remains open [
7,
8], no prior work treated the general problem. The present result unifies all negative values
with
into one family determined by
. This places Lehmer’s case inside a broader multiplicative framework and isolates
as the only negative value where
yet infinitely many solutions may still exist. For
, the finite set arises from the five Fermat primes
; the compositeness of
breaks the pattern.
Open questions.
(1) Quantify the 2-adic obstruction for ; give explicit lower bounds on the odd part of .
(2) Establish that has only finitely many solutions for every positive , or give effective upper bounds in terms of a.
(3) Re-examine Lehmer’s conjecture in this framework; if true, becomes the single anomaly among negative values.
(4) Identify what arithmetic structure constrains finite cases. Any composite solution to
must be a Carmichael number [
3]; whether other
a share similar properties remains unknown.
The results presented here expand the classical totient divisibility problem into a unified setting covering all integer shifts. They show that only a narrow set of arithmetic forms sustain infinite families, while all others collapse to sparse or finite collections. The proven classification for negative a and the finite set for together summarize all observed infinite and finite families of the totient divisibility condition.
Not applicable.
Author Contributions
This article is the sole work of the author.
Funding
No external funding was received for this work.
Data Availability Statement
No datasets were generated or analyzed in this study.
Use of Artificial Intelligence
AI tools were used only for formatting and minor editorial assistance. All reasoning, mathematics, and proofs originate from the author.
Conflicts of Interest
The author declares no conflicts of interest.
References
- Apostol, T. M. (1976). Introduction to Analytic Number Theory. Springer-Verlag, New York.
- Carmichael, R. D. (1913). On numbers for which Euler’s totient function is a divisor of the number. American Mathematical Monthly, 20(10), 147–153.
- Granville, A., & Pomerance, C. (2002). Two contradictory conjectures concerning Carmichael numbers. Mathematics of Computation, 71(238), 883–908.
- Guy, R. K. (2004). Unsolved Problems in Number Theory (3rd ed.). Springer-Verlag, New York.
- Hardy, G. H., & Wright, E. M. (2008). An Introduction to the Theory of Numbers (6th ed.). Oxford University Press.
- Lehmer, D. H. (1932). On Euler’s totient function. Bulletin of the American Mathematical Society, 38, 745–751.
- Luca, F., & Pomerance, C. (2002). On some problems of Mąkowski–Schinzel and Erdős concerning the functions φ and σ. Colloquium Mathematicum, 92, 111–130.
- Pomerance, C. (1976). On composite n for which φ(n) divides n-1. Acta Arithmetica, 28, 387–389.
- Ribenboim, P. (1996). The New Book of Prime Number Records. Springer-Verlag, New York.
Table 1.
Verified solutions to for . Values of a correspond to the proven families in Theorem 1.1 and the finite classification in Theorem 1.2.
Table 1.
Verified solutions to for . Values of a correspond to the proven families in Theorem 1.1 and the finite classification in Theorem 1.2.
| a |
Count |
First 10 Solutions |
Pattern |
| 0 |
|
1,2,4,6,8,12,16,18,24,32 |
[5] |
| 1 |
7 |
1,2,3,15,255,65535,4294967295 |
Finite: only |
| -1 |
148,933 |
2,3,5,7,11,13,17,19,23,29 |
All primes [6] |
| -2 |
78,498 |
4,6,10,14,22,26,34,38,46,58 |
, p odd prime |
| -4 |
41,538 |
8,12,20,28,44,52,68,76,92,116 |
, p odd prime |
| 2 |
10 |
1,2,4,6,10,30,70,510,2590,131070 |
Sparse |
| 3 |
11 |
1,2,3,5,9,21,45,285,765,27645 |
Sparse |
| 5 |
7 |
1,2,3,7,75,1275,327675 |
Sparse |
|
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).