Find logga mod p for the following values of p g and a If a
Find logg(a mod p) for the following values of p, g, and a. If a is not a power of g, then logg(a mod p) = “undened”.
(i) p = 11, g = 3, a = 4.
(ii) p = 13, g = 7, a = 3.
Solution
Given that , if a is not power of g then logg(a mod p) is \"undefined\".
Now considering the given examples,
i) a=4, g=3 ,p=11
In this case a is not a power of g, as powers of g=3 are 3,9,27,81.......So as per given data value of
logg(a mod p) is \"undefined\" in this case.
ii)a=3,g=7,p=13,
In this case also a=3 is not power of g=7, as powers of g =7 are 7,49,343..... So as per given data value of
alogg(amod p) is \"undefined\" in this acse.
