Saturday, 4 April 2026

Exercise (6.1).1

Find the order of 2

(a) modulo 7

(b) modulo 11

(c) modulo 17

(d) modulo 23


We do this exercise by brute force, as per the textbook's examples at the beginning of Chapter 6.


(a) The following calculations show $2^3 \equiv 8 \equiv 1 \pmod 7$.

n2^n2^n mod 7
122
244
381

Since $\gcd(2,7)=1$, the order of 2 modulo 7 is 3.


(b) The following calculations show $2^{10} \equiv 1024 \equiv 1 \pmod {11}$.

n2^n2^n mod 11
122
244
388
4165
53210
6649
71287
82563
95126
1010241

Since $\gcd(2,11)=1$, the order of 2 modulo 11 is 10.


(c) The following calculations show $2^8 \equiv 256 \equiv 1 \pmod {17}$.

n2^n2^n mod 17
122
244
388
41616
53215
66413
71289
82561

Since $\gcd(2,17)=1$, the order of 2 modulo 17 is 8.


(d) The following calculation show $2^11 \equiv 2048 \equiv 1 \pmod {23}$.

n2^n2^n mod 23
122
244
388
41616
5329
66418
712813
82563
95126
10102412
1120481

Since $\gcd(2,23)=1$, the order of 2 modulo 23 is 11.