 
 ,
,  ,
,  , and
, and  .
.
 ,
,  .
.
 then
 then  divides
 divides 
 .
.
 ,
, 
 ,
,
 , and
, and 
 In each we find
In each we find  by listing the first seven numbers
satisfying the
 by listing the first seven numbers
satisfying the  th condition, then adjusted the last number if
necessary so that the reductions would be distinct modulo
th condition, then adjusted the last number if
necessary so that the reductions would be distinct modulo  .
.
 if 
and only if the last digits is 0
 or
 if 
and only if the last digits is 0
 or  .  An integer is
divisible by
.  An integer is
divisible by  if and only if the sum of the digits is 
divisible by
 if and only if the sum of the digits is 
divisible by  .  An integer is divisible by
.  An integer is divisible by  if and only
if the alternating sum of the digits is divisible by
 if and only
if the alternating sum of the digits is divisible by  .
.
 
 
![[*]](/usr/share/latex2html/icons/crossref.png) ,
we know that
,
we know that 
 is a ring for any
 is a ring for any  .  Thus to show that
.  Thus to show that
 is a field it suffices to show that every nonzero element
 is a field it suffices to show that every nonzero element 
 has an inverse.  Lift
 has an inverse.  Lift  to an element
 to an element 
 ,
and set
,
and set  in Proposition 2.3.1.   Because
 in Proposition 2.3.1.   Because  is prime,
 is prime,
 , so there exists
, so there exists  such that
 such that 
 .
Reducing this equality modulo
.
Reducing this equality modulo  proves that
 proves that 
 has
an inverse
 has
an inverse  .  Alternative one could argue just
like after Definition 2.1.15 that
.  Alternative one could argue just
like after Definition 2.1.15 that 
 for some
 
for some  , so some power of
, so some power of 
 is the 
inverse of
 is the 
inverse of 
 .
.
 
 .  If
.  If  , then
, then 
 is either divisible by an odd prime
 is either divisible by an odd prime  or
 or  .  If
.  If  ,
then
,
then 
 divides
 divides 
 for some
 for some  , so
, so 
 is even.  If an odd
is even.  If an odd  divides
 divides  , then the even number
, then the even number
 divides
 divides 
 for some
 for some  .
.
 is a homomorphism since
both reduction maps
 is a homomorphism since
both reduction maps 
 and
   and 
are homomorphisms. It is injective because if
 is such
that
 is such
that  , then
, then  and
 and  , so
, so  (since
 (since
 and
 and  are coprime), so
 are coprime), so 
 .   
The cardinality of
.   
The cardinality of 
 is
 is  and the cardinality of
the product
 and the cardinality of
the product 
 is also
 is also  , so
, so  must be an isomorphism.  The units
must be an isomorphism.  The units 
 are thus
in bijection with the units
 are thus
in bijection with the units 
 .
.
For the second part of the exercise, let 
 and
set
 and
set  .  Then
.  Then 
 , but
, but  and
 and
 , so
, so 
 .
.
 be the number of books.   
The problem asserts that
 be the number of books.   
The problem asserts that 
|  |  | |
|  |  | |
|  |  | |
|  |  | 
 .  Applying CRT to this equation and
the third we find that
.  Applying CRT to this equation and
the third we find that 
 .  Since
.  Since  is not divisible by
is not divisible by  , we add multiples of
, we add multiples of  to
 to  until we find the first
until we find the first  that is divisible by
 that is divisible by  .  The first multiple
works, and we find that the aspiring mathematicians 
have
.  The first multiple
works, and we find that the aspiring mathematicians 
have  math books.
 math books.
 works, since
 works, since  is prime.
Now suppose
 is prime.
Now suppose  is any prime such that
 is any prime such that  and
 and  are both prime.
We must have
 are both prime.
We must have 
 or
 or 
 . 
Then
. 
Then 
 , so
, so 
 , which contradicts
the fact that
, which contradicts
the fact that  is prime.
 is prime.   
 , see solution to Exercise 2.15.
For (b), yes there are many such examples.  For example,
, see solution to Exercise 2.15.
For (b), yes there are many such examples.  For example,  ,
,  .
.
![[*]](/usr/share/latex2html/icons/crossref.png) , we see that if
, we see that if 
 is the prime factorization of
is the prime factorization of  , then
, then 
 
 .   Then
.   Then 
 . 
 For the same reason
. 
 For the same reason  also divides
 also divides
 , so
, so  , as claimed.
, as claimed.
 , since
, since 
 has order
 has order  ,
but every element of
,
but every element of 
 has order
 has order  .
Prove that if
.
Prove that if  is a primitive root modulo
 is a primitive root modulo  , for
, for 
 , then the reduction of
, then the reduction of  mod
 mod  is a primitive
root, a contradiction.
 is a primitive
root, a contradiction.
 is a primitive root modulo
 is a primitive root modulo  .
.
 be the prime
factorization of
 be the prime
factorization of  .  Slightly 
generalizing Exercise 16 we see that
.  Slightly 
generalizing Exercise 16 we see that 
 
Thus
 is cyclic if and only if the product
 is cyclic if and only if the product 
 is cyclic.  If
 is cyclic.  If  , then
there is no chance
, then
there is no chance 
 is cyclic, so assume
 is cyclic, so assume 
 .  Then by Exercise 2.28 
each group
.  Then by Exercise 2.28 
each group 
 is itself cyclic.
A product of cyclic groups is cyclic if and only
the orders of the factors in the product are coprime (this
follows from Exercise 2.16).  
Thus
 is itself cyclic.
A product of cyclic groups is cyclic if and only
the orders of the factors in the product are coprime (this
follows from Exercise 2.16).  
Thus 
 is cyclic if and only if the numbers
 is cyclic if and only if the numbers
 , for
, for 
 are pairwise coprime.
Since
 are pairwise coprime.
Since  is even, there can be at most one odd 
prime in the factorization of
 is even, there can be at most one odd 
prime in the factorization of  , and we see that
, and we see that 
 is cyclic if and only if
 is cyclic if and only if  is an odd
prime power, twice an odd prime power, or
 is an odd
prime power, twice an odd prime power, or  .
.
 such that
 such that
 .
By computing
.
By computing 
 , we see that
, we see that
 and
 and 
 .  Thus
.  Thus  ,
and since
,
and since 
 , and
, and
 , it follows that
, it follows that  .
.
 
then we can factor
 by finding the roots of
 by finding the roots of  , e.g., using
Newton's method (or Cardona's formula for the roots of a cubic).
Because
, e.g., using
Newton's method (or Cardona's formula for the roots of a cubic).
Because  ,
,  ,
,  , are distinct odd
primes we have
, are distinct odd
primes we have
 
and
 
Since we know
 ,
, 
 , and
, and  , we know
, we know
|  |  and | |
|  |  | 
 and
 and  , hence deduce
, hence deduce  and find
 
and find  .
.
 ,
,  , 0
, and
, 0
, and  .
.
 depends
only on the reduction
 depends
only on the reduction 
 .  List enough primes
.  List enough primes  such that the
 such that the
 reduce to
 reduce to  modulo
 modulo  and verify that 
the asserted formula holds for each of them.
 and verify that 
the asserted formula holds for each of them.
 is prime there
are either two solutions or no solutions to
 is prime there
are either two solutions or no solutions to 
 ,
and we can decide which using quadratic reciprocity.
We have
,
and we can decide which using quadratic reciprocity.
We have
 
so there are two solutions if and only if
 is
 is  mod
mod  .  In fact
.  In fact 
 , so there are two solutions.
, so there are two solutions.
 .  
By Fermat's Little Theorem
.  
By Fermat's Little Theorem  , so
, so  .
.
 and
 and  .  We
found this example using the Chinese remainder theorem applied
to
.  We
found this example using the Chinese remainder theorem applied
to  and
 and  , and used that
, and used that 
 ,
yet
,
yet  is not a square modulo either
 is not a square modulo either  or
 or  , so is
certainly not a square modulo
, so is
certainly not a square modulo  .
.
 is
  prime, by using that if
 is
  prime, by using that if  and
 and  are primes not of the form
 are primes not of the form
   , then neither is their product.  If
, then neither is their product.  If  divides
 divides
   , it divides
, it divides 
 , so
, so  is a
  quadratic residue modulo
 is a
  quadratic residue modulo  .  Now use quadratic reciprocity to show
  that
.  Now use quadratic reciprocity to show
  that  is not a quadratic residue modulo
 is not a quadratic residue modulo  .
.
 , with
, with 
 .  Let
.  Let  be
  such that
 be
  such that 
 .  Then
.  Then 
 is a sum of
  two integer squares, so by Theorem 5.6.1 if
 is a sum of
  two integer squares, so by Theorem 5.6.1 if 
 and
 and 
 , then
, then 
 is even.  We have
 is even.  We have
  
 is even if and only if
 is even if and only if 
 is even, so
  Theorem 5.6.1 implies that
 is even, so
  Theorem 5.6.1 implies that  is also a sum of two
  squares.
 is also a sum of two
  squares.
 are
 are  , so a sum
of two squares reduces modulo
, so a sum
of two squares reduces modulo  to one of
 to one of  or
 or  .
Four consecutive integers that are sums of squares would reduce to
four consecutive integers in the set
.
Four consecutive integers that are sums of squares would reduce to
four consecutive integers in the set 
 , which
is impossible.
, which
is impossible.
 .
.
 , generated
by
, generated
by  .  The elements of
.  The elements of  are
 are 
 
 .
For part (b), a hint is that when
.
For part (b), a hint is that when 
 , 
the map
, 
the map 
 on
 on 
 is an automorphism,
so
 is an automorphism,
so 
 is a bijection.  Now use what you learned
about squares in
 is a bijection.  Now use what you learned
about squares in 
 from Chapter 4.
 from Chapter 4.
 , the
equation
, the
equation 
 has a real solution
 has a real solution  .  Thus the
group
.  Thus the
group 
 is not countable, since
 is not countable, since 
 is not countable.  
But any finitely generated group is countable.
 is not countable.  
But any finitely generated group is countable.
 is finitely generated.  However, a 
  finitely generated abelian torsion group is finite.
 is finitely generated.  However, a 
  finitely generated abelian torsion group is finite.
 by a power of a common
denominator, and ``absorb'' powers into
 by a power of a common
denominator, and ``absorb'' powers into  and
 and  .
.
William 2007-06-01