Formally, an arithmetic function is simply a sequence,
with real or complex values. A sequence is, of course, a function on
the set
of positive integers. To emphasize that we are
thinking of them as functions, we shall usually use notation like
, rather than
, for the value corresponding to the
integer
. The term ``arithmetic function" is used especially
when
is defined using number-theoretic properties in some way.
A large part of number theory consists, in one way or
another, of the study of these functions.
We list some examples. First, two very simple ones, mainly to establish the notation we will use:
for all
(the ``unit function");
Next, given any subset
of
(for example, the set
of primes),
define
Clearly,
itself is the case
.
Thirdly, three more obviously number-theoretic examples:
the number of (positive) divisors of
, including 1 and
;
the number of prime divisors of
;
the number of prime factors of
, counted with repetitions.
(This notation is more or less standard, though some writers use
instead of
.) Note that
and
.
For
, these functions can easily be described
in terms of the prime factorization of
:
Proposition 1.2.1. Suppose that
, with prime factorization
Proof. The expressions for
and
are just the definition.
Divisors of
are of the form
, where for each
,
the possible values of
are
. This gives the expression
for
.
In particular, if
is prime, then
,
and
. To give another example, since
, we
have
,
and
.
Given arithmetic functions
,
, we denote the pointwise product by
, so that
. Obviously,
for any
.
Summation functions. Given an arithmetic function
, its
``summation function"
is defined by
Individual values of arithmetic functions may fluctuate wildly - as in most
of the examples just given. However, in many cases summation smooths out the
fluctuation, and it may be possible to
find an asymptotic expression for the summation function for large
.
In the case of
and
, the first step is to apply
a bit of ``lateral thinking" to obtain alternative expressions for the
summation functions, as in the next result. The notation
means
the largest integer not greater than
.
We shall use the notation
to mean the set of primes not greater
than
(but there is no generally agreed notation for this). Also,
means that
divides into
.
Proposition 1.2.2. Write
and
. Then
Proof. Clearly,
is the number of ordered pairs
such that
and
. For fixed
(instead of fixed
), the
number of such pairs is the number of multiples
not greater than
.
This number is obviously
. The stated expression follows.
The argument for
is similar, counting the number of pairs
as above, but with
prime.
.
The ``double counting" principle seen in this proof is often useful.
We shall see later how the identities in 1.2.2 can be used to derive asymptotic
expressions for
and
, and
similar results will be obtained for some other arithmetic functions.
Since
is itself a summation function, our main objective,
the prime number theorem, is a result of exactly this type.
But as the reader may suspect, this case will cost us a lot more effort than most
of the others.
Multiplicative functions. We denote by
the greatest common
divisor of
and
. An arithmetic function
is said to be
completely multiplicative if
for all
;
multiplicative if
whenever
.
Clearly, if
is multiplicative and not identically zero, then
.
Also,
is fully determined by the values
for prime
, since if
the prime factorization of
is
, then
. Of course, if
is completely
multiplicative, then
, and the function is already
fully determined by the values
.
We list some examples.
As the reader may already know, there are many further interesting examples of arithmetic functions. Some will make their appearance in later sections.
1. Find the smallest
such that (i)
,
(ii)
, (iii)
.
2. Show that
without calculating
individual values of
.
3. Calculate
without calculating
individual values of
.
4. Show that for any
,
5. Let
be the set of squares. Show that
is multiplicative.
6. Let
for
. Show that
is
multiplicative.
7. Prove that for any
, we have
as
. [Again use
. For each prime
,
show that there is a constant
such that
for all
. ]