RESIDUACITY OF PRIMES RONALD EVANS

Similar documents
UNAMBIGUOUS EVALUATIONS OF BIDECIC JACOBI AND JACOBSTHAL SUMS

and A", where (1) p- 8/+ 1 = X2 + Y2 = C2 + 2D2, C = X=\ (mod4).

Cyclotomic Resultants. By D. H. Lehmer and Emma Lehmer. Dedicated to Daniel Shanks on his 10 th birthday

CLASS GROUPS, TOTALLY POSITIVE UNITS, AND SQUARES

SEVERAL PROOFS OF THE IRREDUCIBILITY OF THE CYCLOTOMIC POLYNOMIALS

Galois theory (Part II)( ) Example Sheet 1

Class numbers of cubic cyclic. By Koji UCHIDA. (Received April 22, 1973)

1. INTRODUCTION For n G N, where N = {0,1,2,...}, the Bernoulli polynomials, B (t), are defined by means of the generating function

RANK AND PERIOD OF PRIMES IN THE FIBONACCI SEQUENCE. A TRICHOTOMY

Practice problems for first midterm, Spring 98

Predictive criteria for the representation of primes by binary quadratic forms

Frobenius and His Density Theorem for Primes

SYMMETRICOMPLETIONS AND PRODUCTS OF SYMMETRIC MATRICES

SOLVING SOLVABLE QUINTICS. D. S. Dummit

Quasi-reducible Polynomials

A connection between number theory and linear algebra

Twists of elliptic curves of rank at least four

THE JACOBI SYMBOL AND A METHOD OF EISENSTEIN FOR CALCULATING IT

SOME REMARKS ON ARTIN'S CONJECTURE

MATH 431 PART 2: POLYNOMIAL RINGS AND FACTORIZATION

ORAL QUALIFYING EXAM QUESTIONS. 1. Algebra

MATH 361: NUMBER THEORY TENTH LECTURE

Some algebraic number theory and the reciprocity map

ON MONIC BINARY QUADRATIC FORMS

A linear resolvent for degree 14 polynomials

Arithmetic properties of periodic points of quadratic maps, II

arxiv: v1 [math.nt] 24 Oct 2013

arxiv: v1 [math.nt] 2 Jul 2009

Maximal Class Numbers of CM Number Fields

University of Southern California, Los Angeles, University of California at Los Angeles, and Technion Israel Institute of Technology, Haifa, Israel

INDEFINITE QUADRATIC FORMS AND PELL EQUATIONS INVOLVING QUADRATIC IDEALS

Chapter 5. Modular arithmetic. 5.1 The modular ring

1 The Galois Group of a Quadratic

Rings. Chapter 1. Definition 1.2. A commutative ring R is a ring in which multiplication is commutative. That is, ab = ba for all a, b R.

Weak Uniform Distribution for Divisor Functions. I

CONGRUENCES CONCERNING LUCAS SEQUENCES ZHI-HONG SUN

Section IV.23. Factorizations of Polynomials over a Field

A Proof of the Lucas-Lehmer Test and its Variations by Using a Singular Cubic Curve

ON THE SEMIPRIMITIVITY OF CYCLIC CODES

Lemma 1.1. The field K embeds as a subfield of Q(ζ D ).

IRREDUCIBILITY CRITERIA FOR SUMS OF TWO RELATIVELY PRIME POLYNOMIALS

Normal integral bases for Emma Lehmer s parametric family of cyclic quintics

Ph.D. Qualifying Examination in Algebra Department of Mathematics University of Louisville January 2018

GALOIS GROUPS OF CUBICS AND QUARTICS (NOT IN CHARACTERISTIC 2)

An Additive Characterization of Fibers of Characters on F p

THE LIND-LEHMER CONSTANT FOR 3-GROUPS. Stian Clem 1 Cornell University, Ithaca, New York

Primes, Polynomials, Progressions. B.Sury Indian Statistical Institute Bangalore NISER Bhubaneshwar February 15, 2016

GALOIS GROUPS AS PERMUTATION GROUPS

Page Points Possible Points. Total 200

On the Rank of the Elliptic Curve y 2 = x 3 nx

SOME VARIANTS OF LAGRANGE S FOUR SQUARES THEOREM

Acta Mathematica Universitatis Ostraviensis

disc f R 3 (X) in K[X] G f in K irreducible S 4 = in K irreducible A 4 in K reducible D 4 or Z/4Z = in K reducible V Table 1

THE DENOMINATORS OF POWER SUMS OF ARITHMETIC PROGRESSIONS. Bernd C. Kellner Göppert Weg 5, Göttingen, Germany

An unusual cubic representation problem

On the power-free parts of consecutive integers

Five peculiar theorems on simultaneous representation of primes by quadratic forms

CHARACTERIZING INTEGERS AMONG RATIONAL NUMBERS WITH A UNIVERSAL-EXISTENTIAL FORMULA

Field Theory Problems


THERE ARE NO ELLIPTIC CURVES DEFINED OVER Q WITH POINTS OF ORDER 11

ON RATIONAL RECIPROCITY

An Addition Theorem Modulo p

Algebraic integers of small discriminant

= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2

FIELD THEORY. Contents

ON ADDITIVE PARTITIONS OF SETS OF POSITIVE INTEGERS

On Orders of Elliptic Curves over Finite Fields

Homework 9 Solutions to Selected Problems

NOTES ON FINITE FIELDS

55 Separable Extensions

Math 201C Homework. Edward Burkard. g 1 (u) v + f 2(u) g 2 (u) v2 + + f n(u) a 2,k u k v a 1,k u k v + k=0. k=0 d

ALGEBRA PH.D. QUALIFYING EXAM September 27, 2008

p-class Groups of Cyclic Number Fields of Odd Prime Degree

Bulletin of the Transilvania University of Braşov Vol 7(56), No Series III: Mathematics, Informatics, Physics, 59-64

MULTIPLICATIVE SUBGROUPS OF INDEX THREE IN A FIELD

AMICABLE PAIRS AND ALIQUOT CYCLES FOR ELLIPTIC CURVES OVER NUMBER FIELDS

Summary Slides for MATH 342 June 25, 2018

Explicit solution of a class of quartic Thue equations

Difference Sets Corresponding to a Class of Symmetric Designs

POLYNOMIAL SOLUTIONS OF PELL S EQUATION AND FUNDAMENTAL UNITS IN REAL QUADRATIC FIELDS

QUADRATIC RESIDUES OF CERTAIN TYPES

Theorem 5.3. Let E/F, E = F (u), be a simple field extension. Then u is algebraic if and only if E/F is finite. In this case, [E : F ] = deg f u.

WATSON'S METHOD OF SOLVING A QUINTIC EQUATION

ON A THEOREM OF TARTAKOWSKY

RATIONAL RECIPROCITY LAWS

LINEAR EQUATIONS WITH UNKNOWNS FROM A MULTIPLICATIVE GROUP IN A FUNCTION FIELD. To Professor Wolfgang Schmidt on his 75th birthday

φ(xy) = (xy) n = x n y n = φ(x)φ(y)

Determining elements of minimal index in an infinite family of totally real bicyclic biquadratic number fields

ABSTRACT INVESTIGATION INTO SOLVABLE QUINTICS. Professor Lawrence C. Washington Department of Mathematics

ECEN 5022 Cryptography

A PROBLEM IN ADDITIVE NUMBER THEORY*

Factorization in Integral Domains II

Definitions, Theorems and Exercises. Abstract Algebra Math 332. Ethan D. Bloch

Section VI.33. Finite Fields

On a Generalization of Artin s Conjecture

NUMBER FIELDS WITHOUT SMALL GENERATORS

On the Frobenius Numbers of Symmetric Groups

PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include

Algebra Review. Instructor: Laszlo Babai Notes by Vincent Lucarelli and the instructor. June 15, 2001

Transcription:

ROCKY MOUNTAIN JOURNAL OF MATHEMATICS Volume 19, Number 4, Fall 1989 RESIDUACITY OF PRIMES RONALD EVANS ABSTRACT. Let q,p be distinct primes with p ef + 1. A variant of the Kummer-Dedekind theorem is proved for Gaussian periods, which shows in particular that q is an e-th power (modp) if and only if the Gaussian period polynomial of degree e has e (not necessarily distinct) linear factors (modg). This is applied to give a simple criterion in terms of the parameters in the partitions p = 8/+1 = X 2 +Y 2 = C 2 +2D 2 for an odd prime q to be an octic residue (modp). Some consequences and a generalization of an analogous quartic residuacity law (proved by E. Lehmer in 1958) are also given. 1. Introduction. Throughout, let p and q be distinct primes with p ef + 1. In [8], E. Lehmer gave elegant criteria for an odd prime q to be an e-th power residue (modp), for e = 3,4. The result given for e = 4 was essentially the following theorem. THEOREM 1.1. Let p be a prime = l(mod4) and write (1.1) p = X 2 +Y 2, X = l(mod4). Then an odd prime q ^ p is quartic (modp) if and only if (1.2, (gm^my, or (2(2M, + Xs)j = 1 qiy where s is any integer satisfying p = s 2 (modq), Legendre symbol. and (2/p) is the In view of the congruence (p+ys)(2p- -2Xs) = (p-f-xs+ys) 2 (modg), one can replace (1.2) by the equivalent condition (1.3) ^ ) = 1,, X,o,(i«M) =1,,, X. AMS Subject classification: Primary 11A15, 11T21; Secondary 11T06. Received by the editors on January 22, 1987. Copyright 1989 Rocky Mountain Mathematics Consortium

1070 R. EVANS In 2, we apply Theorem 1.1 to answer some questions posed in [10] and to extend some results given in [6, 9]. In 3, we prove an extension of Theorem 1.1 which also slightly generalizes a result of Williams, Hardy, and Friesen [14]. Our proof in 3 is considerably shorter than that in [14], at the expense of being less elementary. The main results of this paper are Theorems 4.1 and 5.1. Theorem 5.1 is the counterpart of Theorem 1.1 for e = 8. It gives a simple criterion in terms of the parameters in the partitions p = 8/ + 1 = X 2 4- Y 2 = C 2 + 2D 2 for an odd prime q / p to be an octic residue (modp). Special cases have been given by von Lienen [11]. The proof of Theorem 5.1 is based on the fact that a prime q ^ p is an e-th power (modp) if and only if the Gaussian period polynomial of degree e has e (not necessarily distinct) linear factors over GF(q). This fact is a special case of Theorem 4.1. 2. Applications of Theorem 1.1. Throughout this section, p is a prime = 1 (mod 4) such that (1.1) holds, q is an odd prime ^ p, and s is an integer such that p = s 2 (modq). If, further, p = l(mod8), write (2.1) p = C 2 + 2D 2, C = l(mod4). In [10, p. 478], E. Lehmer asks for a characterization of the (odd prime) divisors of C and D which are quartic (modp). This is given in the following theorem. THEOREM 2.1. Suppose that p = l(mod8). If q\d, then q is quartic (modp) if and only if (2 2,, Yor pu±iïç) =1. If q\cj then q is quartic (modp) if and only if (2. 3), Yorp ±^l)=l, where v2 denotes any square root of 2(mod^) (which exists since p = 2B 2 (modq)).

RESIDUACITY OF PRIMES 1071 PROOF. Choose s to be C or D\/2 according to whether q\t> or <? C, and use (1.2). D A direct proof of the following theorem was solicited by E. Lehmer in [10, p. 478]. THEOREM 2.2. Suppose that p = l(mod8) and q divides C 4 -p + 2 or 4D 4 py 2. Then q is quartic (modp). PROOF. All congruences in this proof are (modg). If g Y, then q is quartic by (1.2), so let q * Y. Suppose that q\x. If q\c 4 - px 2 ), then q\c and Y 2 = p = 2D 2 so that (2/q) = 1. If q\(4b 4 -py 2 ), then 4D 4 = Y 4 so that Y 2 = ±2D 2. If the plus sign is valid, then (2/q) = 1, otherwise Y 2 = -2D 2 = C 2 - p = C 2 - Y 2 so that 2Y 2 = C 2, and again (2/q) 1. Therefore, if g X, then (2/q) = 1, so q is quartic by (1.3). It remains to consider the case qx + Y. Suppose first that <? (4D 4 - py 2 ). If q\c, then p 2 = 4D 4 = py 2 and so g X. Thus q * C. For some choice of s = y/p,sy = 2D 2, so p -h sy = C 2 jà 0. Thus q is quartic by (1.3). Finally, suppose that q\(c 4 - px 2 ). If g D, then p 2 = C 4 = px 2, giving ç Y. Thus g + D. For some choice of s = ^/p, sx = C 2, and then 2p -f 2sX = 4D 2 = 0. Thus q is quartic by (1.2). D Special cases of the next two theorems were given by the Lehmers. D.H. and E. Lehmer [6] obtained the special cases t = l,fc = 1,-3 of Theorem 2.3 by looking at cyclotomic resultants. E. Lehmer [9] obtained the special case t = 0, k 3 of Theorem 2.4. THEOREM 2.3. Suppose that q + Y and (t 2 + k 2 p - 2(2/p)p) 2 = 4p(X kt) 2 (moàq) for some integers k,t. Then q is quartic (modp). PROOF. For some choice of s = yfp(modq), 2s(2/p)(X - kt) = -2(2/p)p + t 2 + A; 2 p(mod<7).

1072 R. EVANS Thus (2/p)(2p + 2sX) = 2{2/p)skt + t 2 + fc 2 p = (Ars + *(2/p)) 2 (mod<?). The members of this congruence are nonzero (modç), otherwise 0 = (2p + 2sX)(2p - 2sX) = 4pY 2 (modq). Thus q is quartic by (1.2). a THEOREM 2.4. Suppose that q * X and (t 2 + k 2 p - (2/p)p) 2 = p(y 2kt) 2 (modq) for some integers k,t. Then q is quartic (modp). PROOF. For some choice of s = ^(modg), Thus, s(2/p)(y - 2fct) = -{2/p)p + t 2 + fc 2 p(modç). (2/p)(p + sy) = 2{2/p)skt + t 2 -f fc 2 p = (fcs + t(2/p)) 2 (mod9). The members of the above congruence are nonzero (mod(?), otherwise 0 = (p -f sy)(p sy) = px 2 (modç). Thus ç is quartic by (1.3). D 3. Extension of Theorem 1.1. Throughout this section, let q be an odd prime and let e ( l)^-1 )/ 2. Let m be a squarefree positive integer = O(modç) such that s = y/m exists (modç), and let M denote the largest odd factor of m. Let A,B,C be pairwise relatively prime integers such that A > 0,ç + ABC, 2 + B, and A 2 = ra(b 2 + C 2 ). Observe that any odd prime p dividing A satisfies p = l(mod4), since B 2 + C 2 = A 2 /m = 0(modp). Thus M = l(mod4). Let x, y, and z denote the number of primes p dividing M for which g(p-i)/4 = C/B, C/B, and l(modp), respectively. In the case that every prime factor of m is a square (modg), we have x = y = 0 and Theorem 3.1 below reduces to the result [14, p. 257] of Williams, Hardy, and Friesen. Taking m = p, A = p, B = X, C = Y, with p, X, Y as in (1.1), we see that Theorem 3.1 implies Theorem 1.1 in the case q * XY. THEOREM 3.1. We have 2A + 2Cs l\(8s+4x-4y+(g-l)(m+g)+(m-l)( 9 -e))/8

RESIDUACITY OF PRIMES 1073 Our proof of Theorem 3.1 depends on the well-known properties (3.1)- (3.4) listed below for the quartic residue symbol Xa(ß) defined as in [4, p. 122] for a,0 G Z[z] with (a, 2ß) = l,a + 1. (3.1) Xa(ß)Xä(ß) = l [4, p. 122]; (3.2) Xa{ß) = h Ha,ßeZ [4, p. 122]; (3.3) xg(l + 0 = i (9 " c)/4 [4, P. 136]; (3.4) X/3(a) = X«(/3)(-l) M/4, if a, 6, c,d Z are chosen such that a = a -f bi and ß c-\- di are primary. (Recall that a = a + bi is primary is a is odd, b is even, and a + b = l(mod4).) Formula (3.4) is a version of the law of quartic reciprocity [4, p. 123]. To facilitate the proof of Theorem 3.1, we prove the following lemma. LEMMA 3.2. For a, 6 G Z,x*(a + W) = (^^). PROOF. If q -l(mod4), then q is prime in Z[z], so X 2 q(a + W) = (a + òz) (<?2-1)/2 = ((a + W) 9 (a + W)) ^ 2 = ((o-6i)(a + bi)) ( "- I)/2 = ( a + )(modq) and the result follows. If q = l(mod4), then q = aa for some primary a,äe Z[i], so, by (3.1), * 2 (a + bi) = * 2 (a + W)x (a + W) = X 2 (a + bi)xl(a ~ bi) = ^(a 2 + 6 2 )^(a 2 + 6 2 )C- 1 )/ 2^(^±^)( m oda), and the result follows.

1074 R. EVANS PROOF OF THEOREM 3.1. Since 2(A 4- BÄ)(A + Cs) = (A + Bs + Cs) 2 0(mod<?), the first equality is proved. Without loss of generality, we now fix the signs of B and C so that B + C = 1 (mod4) or B = C = l(mod4) according to whether C is even or odd. Define Then a is primary and / B + tc, if 2 C, a ~ \(B + ic)/(l+i), if2 + C. (3.6) QÛ - M.4 2 / 2 = l(mod2). Let p be any odd prime divisor of A. Write p = TTTT for distinct primary primes 7T,7T G Z[i]. We may suppose that 7r a (otherwise interchange 7r and 7r). We proceed by evaluating Xq( a ) in two different ways. First, by (3.6), (3.7) xq(<*) = n g M(x«W) n P»\\A/m(x q (n 2k ))- By Lemma 3.2, n pk M/m (xf M) = n pt l, /m (^) fc = (^) = (4), since v4 > 0. By (3.4), for each p M, since <? is primary. Since (3.7) becomes X<?(*") = Xqe(n) = X*(q ), n HM (x^)) = e (M - 1)/4 H-i) (9-1)(M - 1)/8, (3-8) (-)x,(a) = (-l) (9-1)(M - 1)/8 n p M(x.(9)).

RESIDUACITY OF PRIMES 1075 For each p M, \AQ) = 9 (p ~ 1)/4 (mod7r). Since ir\(b + ic),i = C/J3(mod7r); thus Xn(q) *, i, 1, or 1 depending on whether g(p-d/4 = c/b, -C/B, -1 or l(modp). Thus (3.8) becomes (3.9) (f )*«(") = (-l) (<? - 1)(M - 1)/8 i^(-l) 2. Next, since A 2 = m(b 2 + C 2 ), 0 = 2{As + Bm)(B + ic) - (^ + sb + sic) 2 {modq). Thus, by (3.2), Xq(B + ic) = x 2 q(a + 8B + sic )- Then, by Lemma 3.2, (MO) *< + «;>_ (M)(±t*). Since M = 1 (mod 4), we have m = 1 or 2(mod 4) depending on whether C is even or odd. Thus, by (3.3) and (3.5), (3.11) X Q (B + ic) = Xq(c*)i {rn - l){q - )/4. Combining (3.9)-(3.11), we obtain and the result follows. D 4. Splitting of the period polynomial over GF(<?). Let n be a squarefree positive integer, and write Çn = exp(27rz/n). Let G be the group of (j){n) reduced residues (mod n) and let H be an arbitrary subgroup of index e in G. Thus, if n is prime, then H is the group of e-th power residues (modn). For c G, define o c G Gal(Q(Ç n )/Q) by cr c (Cn) = C- We sometimes identify G with the Galois group, as in (4.3) below.

1076 R. EVANS By [1, p. 218], the generalized Gaussian period (4.1) *7=l>*(Cn) is nonzero (since n is squarefree), and in fact r\ has degree e = \G/H\ over Q. Thus, for e E G, (4.2) Gei 7 )) = T/ if and only if c G if. The minimal polynomial of rj over Q, viz. (4.3) 1>(x) = n reg/h {x-t(ri)), is called the period polynomial of 77, and its discriminant is denoted by D(ip). Let g be a rational prime with q * n (ç is not required to be odd in this section). Then q is unramified in Q(Cn)- Often q is viewed as an element of G; for example, q H means q = /i(modn) for some h e H. In view of (4.2), the Frobenius automorphism o q is trivial on Q(r/) if and only if q H. Thus [5, p. 100] (4.4) q splits completely in Q(rj) if and only if q H. It follows immediately from (4.4) and the Kummer-Dedekind factorization theorem [5, pp. 32, 33] that if q * D(ip), then q G H if and only if ip(x)(modq) has e distinct linear factors. The following theorem shows that, whether q\d(ip) or not, q H if and only if i^(x)(modq) has e (not necessarily distinct) linear factors. For example, if n = 73, e = 4, q = 2, then g divides D(^) = 256X73 2,<7 is in the set H of 4-th power residues (mod73), and ip(x) = x(x + l) 3 (mod<7) [li (4.3), (4.4)]. (Please replace the misprint 2p + ( 1)^(3 p) by 2p( l)f -f 3 p in [1, (4.3)].) On the other hand, if n = 37, e = 4, q = 3, then <? divides >(</,) = 37 3 X441,g is not in the set # of 4-th powers (mod37), and ip(x) = (x l) 2 (x 2 + l)(modg), so ip(x) has only two linear factors (mod*/). THEOREM 4.1. Let n be squarefree and let q be a prime with q + n. Let H be a subgroup of index e in the group G of reduced residues (modn).

RESIDUACITY OF PRIMES 1077 Define ip(x) as in (4.3). Let F denote the smallest positive integer for which q F E H. Then F equals the least common multiple of the degrees of the irreducible factors of ip(x) (mod q). In particular, q H if and only if ifr(x)(mod q) has e linear factors. PROOF. Let RK denote the ring of integers in K = Q(r/). Let Q be a prime ideal dividing q in RK- View Z/qZ as a subfield of RK/Q- By [13, p. 247], F = \R K /Q - Z/qZ\. By (4.3), R K /Q contains the splitting field of ^(x)(modq) (so the degree of each irreducible factor of ^(x)(modg) divides F), and it remains to show that RK/Q equals this splitting field. Since n is squarefree, the elements a c (Çn)(c G G) form a Z-basis for Q(Cn)- Taking the traces of these basis elements from Q(Cn) down to K, we see [5, p.165] that 7-1(77),...,T e (n) form a Z-basis for K, where ri,...,r e denote a complete set of coset representatives for G/H. In particular, (4.5) Ä* = Z[T 1(T/),...,T C(I/)]. This proves that RK/Q is the splitting field of V;(x)(modQ). D It would be interesting to determine the extent to which (4.5) holds for general integers n. 5. Criterion for octic residuacity. In this section we will apply Theorem 4.1 with e = 8 and n a prime p = l(mod8). Thus H is the group of octic residues (modp). Write (5.1) p = 8f + l = X 2 + Y 2 = C 2 + 2D 2, C = X = l(mod4). It is well-known that 2 is octic (modp) if and only if Y = 8/(mod 16) [3, p. Ill], [12]. In Theorem 5.1 below, we give a criterion for an odd prime q 7^ p to be octic (modp). Corollaries 5.2, 5.3, and 5.4 illustrate the special cases 9 = 3, q 5, q = 7, respectively. These and further cases (q < 41) are considered by von Lienen [11, p. 114]. Corollary 5.5 shows that the result on octic residuacity in [7] can also be deduced from Theorem 5.1.

1078 R. EVANS THEOREM 5.1. Let p be a prime satisfying (5.1) and let q be an odd prime / p. Define E = ( 1)^. If q\y', then q is octic (modp) if and only if (5 2) fexjx + Qj = x or ^X(X-C)^ = L If q * Y, then q is octic (modp) if and only if (5.3) s 2 EEp(mod<7),r 2 = 2p - 2sX(modq), and ^E( s ' C )( 2s + r )^ = x for some s,r Z. PROOF. From [2, p. 390], the eight zeros of ip(x) in Q(r/) are {-l + S + R±VÜ)/8, {-l + S-R±VV)/8, (-1 - S + R x ± y/u[)ß y (-1 - S - R l ± y/vî)/8, where 5 = y/p,r = ^2p - 25X, Äi = v/2p + 2SX, / = 2E(S - C)(2S + ENR), U x = 2E(S + C)(2S - EATi^), 1/ = 2E(S - C)(2S - ENR), V x = 2E(S + C)(2S + ENR X ), with N = 1 or 1 according to whether 2 is quartic or not (modp). Therefore, by Theorem 4.1, q is octic (modp) if and only if there exist integers 5, r, r\ such that (5.4) s 2 =p(mod<?), r 2 = 2p - 2sX(mod<?), r\ = 2p -f 2sX(modg), where ( ^ 0, ( ^, 0, ( ^ 0, a d(^) S 0, u = 2E{s-C){2s + ENr), Ul=2E(s + C){2s-ENn), ^ ' ' v = 2E(s - C)(2s - ENr), Vl = 2E(s + C){2s + ENn). Case 1. q\y. First, (5.2) is equivalent to (5.6) ( *(X + C)\ > 0 and (BW-Q\ > 0

RESIDUACITY OF PRIMES 1079 because q + 2EX and 2(X + C)(X -C) = 2(X 2 - C 2 ) = 2{p - C 2 ) = (2D) 2 (modq), Thus we must show that (5.4) and (5.6) are equivalent. By (5.1), the three congruences in (5.4) automatically hold with s = X,r = 2X, and 7*1 = 0. With this choice of s,r, n, (5.5) yields u = 4EX (X + C)(\ - EN), v = 4EX(X + C)(l + 7V), and vi = m = 4EX(X - C). Thus (5.6) holds if and only if <") (;)** (?)**(;)**-(*)** Case 2. q k Y. Here we must show that (5.3) and (5.4) are equivalent. Assume that (5.4) holds. We have r 2 r\ = 4pY 2 ^ O(modç). Clearly q cannot divide both s C and s + C. Assume without loss of generality that q * (s - C); otherwise, replace s by -s, which has the effect of interchanging r and r Y,u and u\, and v and v\. Then, since uv = 4(s - C) 2 r\ ^ O(mod^), we have (uv/q) 1; by (5.4), (u/q) = (v/q) = 1. This proves (5.8) (2fi(,-C)(2. + r)) = ^ so (5.3) follows. Conversely, suppose that (5.3) holds. To prove (5.4), we must show that there exists an integer r\ such that (5.7) holds and (5.9) r\ = 2p + 2sX{moà q). Choose r\ = 2sY/r(modq). Since (5.10) (2p + 2sX)r 2 = 4pY 2 = r\r 2 ^ O(modç), (5.9) holds. It remains to prove (5.7). There are two subcases. Subcases 2A. q\d. Here s 2 = p = C 2 (modç), so s = ±C(modq). By (5.8), s = -C(modq). Thus, u x = v x = O(modç). By (5.10), uv = 4(5 - C) 2 r\ ^ 0(modg), so (uv/q) 1. By (5.8), at least one of (u/q), (v/q) equals 1, so (u/q) = (v/q) 1. This proves (5.7).

1080 R. EVANS Subcase 2B. q * D. Here (s - C)(s + C) = 2D 2 0(mod<?), so by (5.10), uv = 4(s - C) 2 r 2 ^ 0(mod<7) and uivi = 4(s + C) 2 r 2 ^ 0(modg). Moreover, 0 ^ uu x = 4D 2 (r - r x + 2ENs) 2. Thus (s). (ÏU. ) (=.)., By (5.8), (V?) = 1 or (v/q) = 1, and so (ix/g) = (v/g) = (ui/q) = (vi/q) = 1. This proves (5.7). D COROLLARY 5.2. Let p be a prime satisfying (5.1). Then 3 is oc zc (modp) if and only if 3\Y and C = EX (mod 3), where E = ( 1)^. COROLLARY 5.3. Let p be a prime satisfying (5.1). Then 5 is octic (modp) if and only if 5\Y and C = X or 3X(mod5). COROLLARY 5.4. Let p be a prime satisfying (5.1). Then 7 is octic (modp) if and only if either 7 C, 7 F, E 1 or 7\C,7\X,E = 1 or 7 X, C = ±(2 -f 3E)Y(mod 7) or 7 F, C = ±(2-3 )X(mod 7), where E=(-l)f. COROLLARY 5.5. ([7, Theorem 4]). Let p be a prime satisfying (5.1) with E = 1,X 3C. Then any odd divisor q of Ip + C 2 zs octac (modp). PROOF. It suffices to consider the case when q is an odd prime / p. If q\y, then q divides IX 2 + C 2 = 64C 2, so ç divides -3C = X. Thus q * Y. Since 4C 2 = 7D 2 (modç), there exists an integer such that t 2 = 7 (mod q). Thus there exists an integer s such that s 2 = p(mod q) and C = s (mod</). Define r = s( 3), so r 2 = 2p 2sX(modq). Then 2 (s - C){2s + r) = -2(«+ «*)(** " s ) = ( 4s ) 2 ^ 0(mod<?), so 7 is octic (modp) by Theorem 5.1.

RESIDUACITY OF PRIMES 1081 REFERENCES 1. R.J. Evans, Period polynomials for generalized cyclotomic periods, Manuscripta Math. 40 (1982), 217-243. 2., The octic period polynomial, Proc. Amer. Math. Soc. 87 (1983), 389-393. 3. R.H. Hudson and K.S. Williams, Extensions of theorems of Cunningham- Aigner and Hasse-Evans, Pacific J. Math. 104 (1983), 111-132. 4. K. Ireland and M. Rosen, A Classical Introduction to Modern Number Theory, Springer-Verlag, N.Y., 1982. 5. G. Janusz, Algebraic Number Fields, Academic Press, N.Y., 1973. 6. D.H. Lehmer and E. Lehmer, Cyclotomic resultants, Math. Comp. 48 (1987), 211-216. 7. E. Lehmer, Period equations applied to difference sets, Proc. Amer. Math. Soc. 6 (1955), 433-442. 8., Criteria for cubic and quartic residuacity, Mathematica 5 (1958), 20-29. 9., Problem 85:01, Western Number Theory Conference, Asilomar, 1985. 10., On special primes, Pacific J. Math. 118 (1985), 471-478. 11. H. von Lienen, Primzahlen als achte Potenzreste, J. Reine Angew. Math. 266 (1974), 107-117. 12. G. Meyerson, (Review of [3]), Math. Reviews 84e, #10005. 13. W. Narkiewicz, Elementary and analytic theory of algebraic numbers, PWN, Warsaw, 1974. 14. K.S. Williams, K. Hardy, and C. Friesen, On the evaluation of the Legendre symbol (^+ gv/ ), Acta Arith. 45 (1985), 255-272. DEPARTMENT OF MATHEMATICS, UNIVERSITY OF CALIFORNIA, SAN DIEGO. LA JOLLA, CA 92093