Initial release

This commit is contained in:
Francois JUMELLE
2021-05-03 22:32:40 +02:00
commit 20526d93c8
928 changed files with 452368 additions and 0 deletions

14
Logarithme discret.py Normal file
View File

@@ -0,0 +1,14 @@
input_b = (50, 36, 153, 128, 71, 23, 75, 55, 208, 121)
n = 223
solution = list()
for b in input_b:
x = 1
while True:
if (3**x)%n == b:
solution.append(x)
break
x += 1
print(solution)