Section 9.3 The Floor Function
Definition 9.3.1.
Let \(x\in\mathbb{R}.\) Then \(\lfloor x\rfloor\) denotes the greatest integer less than or equal to \(x.\) This is sometimes called the integer part of \(x.\)
Example 9.3.2.
We have
and
Theorem 9.3.3.
If \(p\) is an odd prime, then
Proof.
According to Gauss' Lemma \((2/p) = (-1)^n,\) where \(n\) is the number of integers in the set
whose remainders upon division by \(p\) are greater than \(p/2.\) Since every member of \(S\) is less than \(p,\) we may just count them. Now for \(k\) with \(1 \leq k\leq (p-1)/2,\) we have \(2k\lt p/2\) precisely when \(k \lt p/4;\) that is, there are \(\lfloor p/4\rfloor\) integers in \(S\) less than \(p/2,\) so there are
integers that are greater than \(p/2.\)
Now if \(p\) is an odd prime, then \(p\) is of the form \(8k + 1, 8k + 3, 8k + 5,\) or \(8k + 7.\)
If \(p = 8k + 1,\) then
If \(p = 8k + 3,\) then
If \(p = 8k + 5,\) then
If \(p = 8k + 7,\) then
Thus if \(p = 8k+1\) or \(8k+7, n\) is even and so \((2/p) = 1,\) and if \(p = 8k+3\) or \(8k + 5, n\) is odd and so \((2/p) =-1.\)
Corollary 9.3.4.
If \(p\) is an odd prime, then
Theorem 9.3.5.
There are infinitely many primes of the form \(8k-1.\)
Proof.
Suppose there are finitely many primes of the form \(8k-1,\) say \(p_1, p_2,..., p_n\) and consider
Note that since \(N\gt 2\) and \(N = 2(2k-1)\) for some \(k,\) there is at least one odd prime divisor of \(N,\) say \(p.\) So
or rather, \((2/p) = 1.\) From a previous result, we have that \(p \equiv \pm 1\pmod{8}.\) If all of the odd prime divisors of \(N\) were of the form \(8k + 1,\) then \(N\) would be of the form \(16a + 2\) for some \(a.\) But \(N\) is of the form \(16a- 2\) for some \(a.\) So \(N\) must have a prime divisor \(q\) of the form \(8k-1.\) As before, \(q\vert N\) and \(q\vert (4p_1p_2\cdots p_n)^2,\) so that \(q\vert 2,\) which is impossible. Hence, there are infinitely many primes of the form \(8k-1.\)