- #36
Oxymoron
- 870
- 0
1. Let p=1(mod 8). => p=8n+1
exponent = 8n/4 - floor((8n+1)/4) = 4n - 2n = 2n (EVEN)
2. Let p=-1(mod 8) => p=8n-1
exponent = (8n-2)/2 - floor((8n-1)/4) = 4n - 1 - 2n = 2n-1 (ODD)
3. Let p=3(mod 8) => p=8n+3
exponent = (8n+2)/2 - floor((8n+3)/4) = 4n - 1 - 2n = 2n-1 (ODD)
4. Let p=-3(mod 8) => p=8n-3
exponent = (8n-4)/2 - floor((8n-3)/4) = 4n - 2 - 2n = 2n-2 (EVEN)
exponent = 8n/4 - floor((8n+1)/4) = 4n - 2n = 2n (EVEN)
2. Let p=-1(mod 8) => p=8n-1
exponent = (8n-2)/2 - floor((8n-1)/4) = 4n - 1 - 2n = 2n-1 (ODD)
3. Let p=3(mod 8) => p=8n+3
exponent = (8n+2)/2 - floor((8n+3)/4) = 4n - 1 - 2n = 2n-1 (ODD)
4. Let p=-3(mod 8) => p=8n-3
exponent = (8n-4)/2 - floor((8n-3)/4) = 4n - 2 - 2n = 2n-2 (EVEN)
Last edited: