An integer r is called a quadratic residue modulo p if it is congruent to a perfect square modulo p:
with the number of residues for a given prime given by the equation (p − 1)/2 where the one value x2 = 0 is removed before division by 2.
The methods of Part I are being scaled up to show that they also apply to large primes such as 1193 and 135287. Thus, according to the formula when p = 1193 the number of residues is 596 as shown in Table I. Note that for each value of x there corresponds a unique value of r using the Type I to Type III formulas shown beneath the table:
x | 1 | ... | 34 | 35 | ... | 48 | 49 | ... | 596 |
---|---|---|---|---|---|---|---|---|---|
r | 1 | ... | 34 | 32 | ... | 1111 | 15 | ... | 895 |
Each column of numbers corresponds to either of three type of expressions that were introduced in Part I:
where q is the quotient and the values of r, r + p and r + pq in the above three types are perfect squares.
The number of values of each type is made is shown as follows, where the square roots of p and 2p are used to calculate the number of values in each type:
Accordingly, there are 34 numbers of Type I, 14 of Type II and 548 of Type III. The reason for using p = 1193 is that this prime is used as an example in Recreations in the Theory of Numbers by Albert H. Beiler (1966) (pages 203 and 208). Beiler used it to show the difficulties in finding the value of x without also knowing the value of q.
Two sequences of larger primes are shown in Tables II and III and follow the construction method of Part I. Table II depicts the sequence formed from p = 1193 having an r value of 29. Row 2 gives the initial sequence using a Δ value of 1193 while row 4 gives the rearranged sequence using the Δ values 125 and 1068.
Δ | ... | -1193 | -1193 | -1193 | 1193 | 1193 | 1193 | 1193 | ... | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
x | ... | -1852 | -659 | 534 | 1727 | 2920 | 4113 | 5306 | ||||||||
Δs | 125 | 1068 | 125 | 1068 | 125 | 1068 | 125 | ... | ||||||||
|x| | 534 | 659 | 1727 | 1852 | 2920 | 3045 | 4113 | 4238 |
A second large prime 135287 also from the book Recreations in the Theory of Numbers (page 208) produced the following sequence
Accordingly, there are 367 numbers of Type I, 153 of Type II and 67123 of Type III.
Table III depicts the sequence with with p = 135287 with an r value of 137. Row 2 gives the initial sequence using a Δ value of 135287 while row 4 gives the rearranged sequence using the Δ values 134551 and 736.
Δ | ... | -135287 | -135287 | -135287 | 135287 | 135287 | 135287 | ... | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
x | ... | -270206 | -134919 | 368 | 135655 | 270942 | 406229 | |||||||
Δs | 134551 | 736 | 134551 | 736 | 134551 | 736 | ... | |||||||
|x| | 368 | 134919 | 135655 | 270206 | 270942 | 405493 | 406229 |
Go to Part III for Finite Sequences from Quadratic Residues. Go back to Part I. Go to homepage.
Copyright © 2022 by Eddie N Gutierrez. E-Mail: enaguti1949@gmail.com