R ENDICONTI
del
S EMINARIO M ATEMATICO
della
U NIVERSITÀ DI P ADOVA
P. J. M C C ARTHY
The number of restricted solutions of some systems of linear congruences
Rendiconti del Seminario Matematico della Università di Padova, tome 54 (1975), p. 59-68
<http://www.numdam.org/item?id=RSMUP_1975__54__59_0>
© Rendiconti del Seminario Matematico della Università di Padova, 1975, tous droits réservés.
L’accès aux archives de la revue « Rendiconti del Seminario Matematico della Università di Padova » (http://rendiconti.math.unipd.it/) implique l’accord avec les conditions générales d’utilisation (http://www.numdam.org/conditions).
Toute utilisation commerciale ou impression systématique est constitutive d’une infraction pénale. Toute copie ou impression de ce fichier doit conte- nir la présente mention de copyright.
Article numérisé dans le cadre du programme Numérisation de documents anciens mathématiques
http://www.numdam.org/
The Number of Restricted Solutions of Some Systems of Linear Congruences.
P. J. MC CARTHY
(*)
We shall determine the number of solutions of a
system
of linearcongruences
when the solutions are
required
tosatisfy
certain conditions. Twosolutions,
and~xi~~,
are counted as the same when andonly
whenfor i =
1, ..., t 1,
..., s.For
each r,
and ... , s, letTi(r)
be anonempty
set oft-tuples
ofintegers
from the set{1, ..., r}.
We shall use the notation... ~
for at-tuple
since we wish to reserve the notation( ... )
forgreatest
common divisor. Let
-3-f (n, ,
... , nt, r,s)
be the number of solutions of(1)
withf or ~ = 1, ... , s.
Under a certainhypo-
thesis this number can be evaluated
using only elementary properties
of the
complex exponential
function.A function
f (n, r)
of aninteger
variable n and apositive integer
variable r is called an even function
(mod r)
ifr)
=f ( (n, r), r)
for all n and r. A function
g(n1, ..., n t , r )
of tinteger
variables nl , ... , nt t and apositive integer
variable r is called atotally
even function(mod r)
if there is an even function
(mod r), say f (n, r),
such thatg(nl,
... , nt,r) ----
=
f( (n1,
...,r)
for all nl, ..., nt, and r. Even functions andtotally
even functions
(mod r)
were introduced and studiedby Cohen,
theformer in
[3]
and several other papers and the latter in[6].
t
(*) Indirizzo dell’A.:
Department
of Mathematics,University
of Kansas, Lawrence, KS 66045, U.S.A.where
e(n, r)
= expTHEOREM 1. If
g¡(n1,...,nt,r)
is atotally
even function(mod r) for j = 1,
... , 8, thenwhere
r)
=g; (n,
... , n,r)
andPROOF. Set M =
.1V1(n1,
..., nt, r,s).
Thenwhere I
is the summation over all solutions of the ith congruencei
of
(1),
andfor j
=1,
... , s,Since
(~ )
where I
is summation over all61
where
~’
is summation over allts-tuples
ofintegers
from the set{1,
... ,r}.
Since ... , nt,r)
is atotally
even function(mod r),
theminus
signs
can be removed from thearguments
of this function.Hence,
By [2,
Lemma3],
Thus,
where
2"
is summation over allt-tuples ql, ... , qt)
ofintegers
fromthe set
(I,
... ,r~.
Let d run over all divisors
of r,
and for each d letu~, ..., Ut)
runover all
t-tuples
ofintegers
from the set~1, ... , r/d~
such that(U1’
... , Iut,
r/d)
= 1. Then ... ,uid)
runs over allt-tuples
ofintegers
fromthe set
{1,
... ,r}. (See [6,
p.356]
and the referencegiven there,
andProposition
2below.) Thus,
Since
g~(nl, ..., nt, r)
is atotally
even function(mod r), g~(uld, ..., uid, r)
=g;(d, r). Therefore,
which is the same as the formula in the statement of the theorem.
There is a
general
method forobtaining
sets such that thehypothesis
of Theorem 1 is satisfied. Foreach r,
letD(r)
be anonempty
set of divisors
of r,
and letWe shall show that
is a
totally
even function(mod r).
PROPOSITION 1.
[6] c( n1, ...,
nt,r)
is atotally
even function(mod r).
In f act,
PROPOSITION 2. Let d run over the divisors of r in
D(r),
and foreach d let
ul, ... , ut~
run over allt-tuples
ofintegers
from the set... ,
r/d~
such that( u1, ... ,
u t ,r/d)
= 1. Then~~1 d, ... , uid)
runs overT(r).
PROOF.
Clearly,
every element ofT(r)
has the statedform,
andall such
t-tuples
are inT(r).
It remainsonly
to show that thet-tuples
formed in this way are distinct. Let
d,
d’ ED(r)
and(ul,
... , ut,r/d)
=PROPOSITION 3.
PROOF. We have
by Proposition 2,
Following
Cohen[6]
we shall denotec(nl,
... , nt,r) by c(t)(n, r)
whenEXAMPLE 1. Let
N(n1,
..., nt, r,s)
be the number of solutions of(1)
with
(x1" ... , xt~ , r) = 1 Then,
63
This result is due to Cohen
[6,
Theorem8]:
in[6]
Cohen confined him- self to the caset = 2,
but his methods and results extend immedia-tely
to the case of andarbitrary
number of congruences. The numberN(n, r, s)
was evaluatedby
Ramanathan[8],
Cohen[3],
and others.EXAMPLE 2.
For j
=1, ... ,
s let be the set of all divisors of rwhich are k-free. If
Qk(nl,
..., nt, r,s)
is the number of solution of(1)
with Xti,
r)k = 1,
where(Xli’
... , Xti,r),
is thelargest
k-th powercommon divisor of Xli’ ... , xtj,
and r,
thenwhere
We have
N(nl, ..., n,, r,,3)= Q1(n1,
... , nt, r,s). The number Qk(n, rk, s)
was evaluated
by
Cohen[4,
Theorem12]
andexpressed
in terms ofthe extended
Ramanujan
sum which he introduced in[1].
EXAMPLE 3. Let k
and q
beintegers
such thatk ~ 2
and 0 q k.Let Sk,a
be the set of allintegers n
such that ifph
isthe highest
power of acprime p dividing
n, thenh = 0, 1, ... ,
orq -1 (mod k).
Forj = 1, ... , s
letD~ (r)
be the set of all divisors of r contained inSk,a,
and let
Pk,a ( nl , ... , n t , r, s )
be the number of solutions of(1)
with(Xli’
... , xt~ ,for j = 1,
... , s. Thenwhere
When t
=1,
this result is due to Subba Rao and Harris[9,
Theorem7]:
Lemma 2 of
[9]
is aspecial
case of our Theorem 1.The next
example
involvesunitary
divisors of aninteger,
and thereader is referred to
[5]
and[7]
for many detailsregarding unitary
divisors and associated arithmetical functions.
A divisor d of r is called a
unitary
divisor if(d, r/d)
= 1. We de-note
by (x, r)*
thelargest
divisor of x which is aunitary
divisorof r,
and we set
(x,,
... ,r), = ( (xl, ... , xt), r)* .
For each r letD(r)
be aset of
unitary
divisorsof r,
andIt turns out that the
corresponding
functiong( n1,
... , nt,r) is,
in thiscase
also,
atotally
even function(mod r).
Set
this is the
unitary analogue
of the functionc(n1,
... , nt,r).
Whent = 1 it is the
unitary analogue
of theRamanujan
sum introducedby
Cohen in[5].
Lety(r)
be the coreof r, i.e., y(I)
=1,
and if r > 1 theny(r)
is theproduct
of the distinctprimes
which divide r. Let drun over the divisors of r such that
y(d)
=y(r),
and for each d letyl,
... , run over thet-tuples
ofintegers
from the set{I,
...,d}
suchthat
( y1, ... ,
yi ,d )
= 1.Then,
... ,Ytrld)
runs over thet-tuples
... ,
Xt)
ofintegers
from the set~1, ..., r}
such that(x1,
... , xt,r)* =
1.From this it follows that
Theref ore, c* ( nl , ... , n t , r)
is atotally
even function(mod r) .
If wedenote
c*(n1,
... , nt,r) by c*~t~(n, r)
when n1= ... = nt = n, thenPROPOSITION 4. Let d run over the divisors of r in
D(r),
and foreach d let ... , run over all
t-tuples
ofintegers
from the setThe
proof
of thisproposition
is similar to that ofProposition
2.From it we obtain the
following
result from which we conclude thatg(n1,
... , nt,r) is, indeed,
atotally
even function(mod r).
65
PROPOSITION 5. With
D(r)
andT(r)
as in thepreceeding
discussionEXAMPLE 4. If
N* (n1,
... , nt, r,s)
is the number of solutions of(1 )
with
(xl~ , ... , xt~ , r),~ = 1
thenWhen t =
1,
this number was evaluatedby
Cohen[7,
Theorem6.1] :
his formula is different in form from ours, and each can be obtained from the other
by using
the relation betweenc*(n, r)
andc(n, r) [7,
Theorem
3.1].
In our
examples
the restrictions are the same for all values ofj.
Of course, y
they
could be chosendifferently
for different valuesof j :
for
example,
we could obtainimmediately
ageneralization
of[7,
Theorem
6.3].
Next we go in another direction and obtain a very
general
resultof the
type
obtainedby Sugunamma
in[10].
Fori == 1, ... 9 87
letti
be apositive integer
and for each r letTi(r)
be anonempty
set ofti-tuples
ofintegers
from the set{1,
...,r}. Further,
letgi(n1,
...,r)
be defined as before. Let
L( n, r, t1,
...,ts)
be the number of solutions ofTHEOREM 2. If
g i (n1,
...,nt,, r)
is atotally
even function(mod r)
for i =
1,
..., 8 thenwhere
gi(n, r)
= ... , n,r).
PROOF. Let L =
L(n, r, t1,
...,ts).
Thenwhere
~’
is summation over all solutions of(2),
and(i)
where Y
is summation over all+...+~.
Thenwhere
Y’
is summation over allt-tuples
ofintegers
from the set~1, ... , r}
Thus,
By [2,
Lemma3]
the summation on theright
isequal
tort-1 e (nq, r)
if for all i
and j,
and isequal
to zero otherwise.Hence,
If we
proceed
as in the finalsteps
of theproof
of Theorem 1 we will obtain the formula of Theorem 2.EXAMPLE 5. If
N’(n, r, t1,
...,ts)
is the number of solutions of(2)
with
(xil,
... , z;i, ,r)
= 1 fori = 1,
.. - 7 s, then67
EXAMPLE 6. If ...,
ts)
is the number of solutions of(2)
with
(xil, ... , xit~, r)~; = 1
for~==1~...~
thenwhere
Sugunamma
evaluatedQk(n, rk, t, ... , t) [10,
Theorem5]:
his formula is in terms of the extendedRamanujan
sumr).
Of course, there is a
unitary analogue
ofExample
5.Also,
we canmix the
restrictions,
and we shallgive
oneexample
of a result of this kind.EXAMPLE 7. Let
.R ( n, r, s, t )
be the number of solutions ofFinally,
y it is clear thatby
the same kind ofarguments
we couldgive
asingle
result which contains both Theorem 1 and Theorem 2.In the
light
of thesetheorems,
it is easy topredict
what the formula in such a result would be.BIBLIOGRAPHY
[1] E. COHEN, An extension
of Ramanujan’s
sum, Duke Math. J., 16 (1949), pp. 85-90.[2]
E. COHEN,Rings of
arithmeticfunctions,
Duke Math. J., 19 (1952), pp. 115-129.[3]
E. COHEN, A classof
arithmeticalfunctions,
Proc. Nat. Acad. Sci. U.S.A., 41 (1955), pp. 939-944.[4]
E. COHEN, An extensionof Ramanujan’s
sum, III, Connection with totientfunctions,
Duke Math. J., 23 (1956), pp. 623-630.[5]
E. COHEN, Arithmeticalfunctions
associated with theunitary
divisorsof
an
integer,
Math. Zeit., 74 (1960), pp. 66-80.[6]
E. COHEN, A classof
arithmeticalfunctions in
several variables withappli-
cations to congruences, Trans. Amer. Math. Soc., 96 (1960), pp. 355-381.
[7]
E. COHEN,Unitary functions (mod r),
I, Duke Math. J., 28 (1961), pp. 475-486.[8] K. G. RAMANATHAN, Some
applications of Ramanujan’s trigonometric
sum
Cm(n),
Proc. Indian Acad. Sci.(A)
20(1944),
pp. 62-69.[9]
M. V. SUBBA RAO - V. C. HARRIS, A newgeneralization of Ramanujan’s
sum, J. London Math. Soc., 41 (1966), pp. 595-604.
[10]
M. SUGUNAMMA,Eckford
Cohen’sgeneralizations of Ramanujan’s trigo-
nometrical sum
C(n,
r), Duke Math. J., 27 (1960), pp. 323-330.Manoscritto pervenuto in redazione 1’8