5 is a primitive root of mod 7 You can try verifying with this python code # check if 5 is a primitive root of mod 7 num = 5 mod = 7 results = [] for i in range(1, mod): result = (num**i) % mod if result in results: print(f'{num} is a NOT primitive root') break results.append(result) if i == mod - 1: print(f'{results} == {num} is a primitive root')
Worth spending my time watching this really good sir
Really nice explanation , only video out there properly explaining discrete logarithms for primitive roots. Good stuff.
excellent teaching and explanation😇
Glad you liked it. Thanks for the nice feedback.
Thank you very much, I liked the way you explained the primitive root, I should thank you.
You are very welcome
great lecture. Very well explained
Thanks a lot sir!!!
Most welcome!
Great explanation clap 👏
Thanks for the nice feedback
Excellent explanation sir
Thankyou sir very well explained!
Thank you so much 👍
isn't there any other method for getting i other than trial and error method?
Yes 5 is a primitive root of 7.
Please also add elliptical curve cryptography concepts
Hello Pavan.. the concepts on elliptic curve cryptography is also added . Kindly check the playlist
why does discrete log always use mod and regular log does not?
5 is a primitive root of mod 7
You can try verifying with this python code
# check if 5 is a primitive root of mod 7
num = 5
mod = 7
results = []
for i in range(1, mod):
result = (num**i) % mod
if result in results:
print(f'{num} is a NOT primitive root')
break
results.append(result)
if i == mod - 1:
print(f'{results} == {num} is a primitive root')