Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.3.47* (Number of integers $a,\ 1 \leq a \leq m,$ such that $(f(a),m) = 1$)
Exercise 2.3.47* (Number of integers $a,\ 1 \leq a \leq m,$ such that $(f(a),m) = 1$)
Let be a polynomial with integral coefficients, let denote the number of solutions of the congruence , and let denote the number of integers , such that . Show that if then . Show that if then . Show that . Conclude that for any positive integer , . Show that for an appropriate choice of , this reduces to Theorem 2.19.
Answers
In this solution, I prefer to consider rather than complete systems of residues modulo .
Notations:
- refers to the cardinality of a set .
- is
- is an ordered pair.
- is the group of invertible elements of . Its cardinality is .
- denotes the class of some element .
- Note that, if , then has a signification.
Proof.
- a)
-
Let
. Consider, for any integer
, the set
Then, for all ,
By definition of , .
Assume that . Consider the map
We show first that is well defined.
- If , then and , so that does not depend of the choice of the representative in the class .
- If , then . Therefore and , so .
Now we show that is bijective.
-
If , where , then . Therefore
Since , , so , and . This shows that is injective (one-to-one).
-
Let be any element of . There are integers such that , where and .
Since , the Chinese Remainder Theorem shows that there exists some integer x such that
So for some integer , thus . Similarly . Since and , then , so . Moreover , and , thus . This shows that is surjective (onto).
We conclude that is a bijection. Therefore
This proves
- b)
-
Suppose that
. Consider the map
- The map is well defined, because .
- If , then . Therefore , so .
If , we count the number of antecedents of for , i.e. we estimate
We can take the representative of in the set , and , which is a complete system of residues modulo . Then , where are the solutions of . Therefore
for all . This shows (principle of the shepherd, as said in France “principe du berger") that
that is
- c)
-
If
is a prime number, the complementary of
in
is
Therefore , by definition of . Thus , so
- d)
-
Write
the decomposition in prime factors of some integer
, where
.
By part (a),
By parts (b) and (c),
This gives
- e)
-
If
, we obtain Theorem 2.17 (the number of solutions of
is
).
If , we obtain the solution of Problem 46 (the number of solutions of is ).
Conclusion: if denotes the number of integers , such that , then
where denotes the number of solutions of the congruence □