Average Probability of an Element Being a Generator in the Cyclic Group ()
1. Introduction
A cyclic group
is an elementary commutative group, and if
(prime),
is known as one of the classifications of finite simple groups.
Every element in the cyclic group
is generated by a generator g. Euler’s totient function
is defined by
. (1)
Euler’s totient function
plays an intrinsically important role in the public key cipher RSA, which is essential in electronic commerce [1] .
The average probability of an element being a generator has not been discussed before. Several analytic properties of
have been investigated for a long time (e.g., [2] [3] ). However, it seems that some issues still remain unresolved.
Dirichlet [4] considered the mean values of sequences of integer values analytically; however, their understanding can be somewhat challenging because of their unfamiliarity.
In this paper, we derive the average probability of an element being a generator using the studies by Dirichlet [4] and Dirichlet and Dedekind [5] .
Throughout this paper, for a real number t, [t] denotes the integer part of t.
2. Preliminaries
As for the possibility that two arbitrary natural numbers are coprime, the following result is mentioned in [6] . We prove the result for the sake of convenience.
Lemma 1. The probability that two arbitrary natural numbers are coprime is
.
Proof: Since the probability that two arbitrary natural numbers have a prime p as a common divisor is
, the probability that two arbitrary natural numbers are coprime is
. Noting that by the Euler product formula
it holds that
. (2)
□
We also mention the following result.
Theorem 2. Choose two arbitrary natural numbers a and b, and consider an arithmetic progression
. Then, the probability that the arithmetic progression includes an infinite number of primes is
.
Proof: The proof follows from Lemma 1 and Dirichlet’s theorem on arithmetic progressions [7] . □
3. Main Result
In general, the cyclic group
generated by a generator g has generators
. Then,
is expressed as
.
As for
, which is the number of generators of the cyclic group
, we prove the following lemma.
Lemma 3.
.
Proof Let g be a generator. If
is a generator, it follows that
, namely,
.
As we can write
,
,
.
As
because
,
, mod n. (3)
Equation (3) implies that the Diophantine equation
has integer solutions z and u, which means k and n are coprimes by Bezout’s lemma. The converse is obvious.
Therefore, the theorem holds from the definition (1) of Euler’s totient function
. □
Consider
for x (integer). We can see that
,
for p: prime, and
for
,
for
(see [8] ).
We can define
, the average probability of
as follows.
.
Let
.
Then, the following result holds.
Theorem 4.
.
Proof: First, we derive
along the lines of Dirichlet [4] . It is well-known that
(4)
for example, in [5] . Summing up both sides for
,
. (5)
For
, it follows that
because
. We regard the right hand side as
if
, and as 0 if
.
Therefore, (4) turns out to be
. (6)
Hence,
. (7)
We put
,
. (8)
By (7),
. (9)
By (8),
Substituting this back into (9),
,
(10)
From (8) and (10),
.
We can write
,
where
is a constant satisfying
,
.
Hence,
for
,
,
,
Which implies
,
.
Especially, if we use
satisfying
, (11)
we obtain
,
.
Therefore, it follows that
,
.
Thus,
this is because
by the Taylor expansion.
Hence,
. (12)
□
We conducted an elementary computational experiment, in which we computed
using Python (Figure 1). Figure 1 shows the validity of the result.
Figure 1. Average probability of an element being a generator.
4. Conclusions
In this study, we have proved that the average probability of an element being a generator in the cyclic group is
. It is interesting that this value is equal to the value of Lemma 1. This is evident in the following discussion.
Consider
. Note that
is coprime for
and not coprime for
. Then,
We would like to further clarify the asymptotic property of
itself, which seems like
when
, in our future work.