Let $a(n)$ be A001122, i.e., an integer sequence of primes with primitive root $2$.
I conjecture that iff $n$ is prime that belong to $\{a(n)\}$, then for $1 \leqslant k \leqslant n-1$ there always exists smallest nonnegative integer $m$ such that $n \mid (2^{m} k + 1)$ and the set of values of $m$ taken for each $k$ in range $1 \leqslant k \leqslant n-1$ is a permutation of $\{0,1,\dotsc,n-2\}$.
It also looks like other $m$ (following after the smallest) such that $n \mid (2^mk+1)$ for certain $k$ have the form $m + q(n-1), q \in \mathbb{N}$. In the same time, for all other $n$ there always exists at least one $k$ such that for any $m \geqslant 0$ we have $n \nmid (2^mk+1)$.
Here is the PARI/GP program to check it numerically:
\\ filter taken from the OEIS page isok1(n) = znorder(Mod(2, n)) == (n-1) \\ filter for checking my conjecture isok2(n) = {my(A, v1); v1 = vector(n-1, i, 0); for(i=1, n-1, A = 0; while(!((2^A*i+1)%n==0), A++); v1[i] = A); vecsort(v1) == vector(n-1, i, i-1)} my(z=2); for(k=1, 299, while(!(isok1(prime(z))), z++); print(isok2(prime(z))); z++) Here are some examples:
n = 3 (1,1) -> (2^1*1 + 1) mod 3 == 3 mod 3 == 0 (0,2) -> (2^0*2 + 1) mod 3 == 3 mod 3 == 0 (1,0) sorted is (0,1) n = 5 (2,1) -> (2^2*1 + 1) mod 5 == 5 mod 5 == 0 (1,2) -> (2^1*2 + 1) mod 5 == 5 mod 5 == 0 (3,3) -> (2^3*3 + 1) mod 5 == 25 mod 5 == 0 (0,4) -> (2^0*4 + 1) mod 5 == 5 mod 5 == 0 (2,1,3,0) sorted is (0,1,2,3) n = 11 (5,1) -> (2^5*1 + 1) mod 11 == 33 mod 11 == 0 (4,2) -> (2^4*2 + 1) mod 11 == 33 mod 11 == 0 (7,3) -> (2^7*3 + 1) mod 11 == 385 mod 11 == 0 (3,4) -> (2^3*4 + 1) mod 11 == 33 mod 11 == 0 (1,5) -> (2^1*5 + 1) mod 11 == 11 mod 11 == 0 (6,6) -> (2^6*6 + 1) mod 11 == 385 mod 11 == 0 (8,7) -> (2^8*7 + 1) mod 11 == 1793 mod 11 == 0 (2,8) -> (2^2*8 + 1) mod 11 == 33 mod 11 == 0 (9,9) -> (2^9*9 + 1) mod 11 == 4609 mod 11 == 0 (0,10) -> (2^0*10 + 1) mod 11 == 11 mod 11 == 0 (5,4,7,3,1,6,8,2,9,0) sorted is (0,1,2,3,4,5,6,7,8,9) Conjecture has been tested up to $a(500) = 10789$ without counterexamples. Here I mean that I checked it for each term of $\{a(n)\}$ up to $n = 500$. It is an open problem to prove (or somehow check) that for all other $n$ there always exists at least one $k$ such that for any $m \geqslant 0$ we have $n \nmid (2^mk+1)$.
Is there a way to prove it? Is this result known in literature?