First commit

This commit is contained in:
2026-01-11 09:19:22 +01:00
commit 50f7b1159e
108 changed files with 11791 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/usr/bin/env python3
from Cryptotools.Numbers.primeNumber import get_n_prime_numbers
import matplotlib.pyplot as plt
#import numpy as np
# Get list of n prime numbers
n = 100
primes = get_n_prime_numbers(n)
print(primes)
# With matplotlib, show into a graphics and try to explain that
plt.rcParams["figure.figsize"] = [7.00, 3.50]
plt.rcParams["figure.autolayout"] = True
for i in range(0, n):
x = primes[i]
y = primes[i]
plt.plot(x, y, marker="o", markersize=2, markeredgecolor="blue")
plt.xlim(0, n)
plt.ylim(0, n)
plt.grid()
plt.show()