The answer is 6 + 10i for any integer i.
An easy way to get solutions for small modules is to iterate over all x values. You only need to check from 0 to 10 (= 11 - 1) to find the first solution if any solution exists.
x = 0
while x < 50:
if 9 == 2**x % 11:
print x
x += 1
Output:
6
16
26
36
46
Obviously, this will take a long time if the module is large.
See the Discrete Logarithm page for more information . Note:
logbg . k , g; . , G , , .
, .