Proof. Suppose that
is a power of a prime
. So
for some exponent
. By Problem 2.1.45 we know that
Therefore
, where
is the greater common divisor
of the coefficients of
except the first and last.
We note that
, thus
is a power of
, and
since
. Moreover, by Theorem 4.2 (de Polignac’s formula),
where
By equation (1),
Therefore
, where
. Here
, where
, thus
, where
, so
and
. If
is a power of
, then
Suppose now that
is not a power of a prime, so that
is the decomposition of
in prime factors, with
. Put
any prime factor of
, and
. Then
, where
. We show that
(The condition
is necessary: for instance
.) Since
we obtain
We compare
and
for
.
- If
, since
,
.
-
If
, we write
, where
. Then
where
is prime to
: since
, if
, then
, which is false by definition of
. Therefore
and similarly, with
,
Then
for all
. Then the equation (2) gives
We note that
, thus
, where
.
By equation (3),
This shows that
for every index
, so
, and
.
If
is not a power of a prime, then
□