Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cryptography/notebooks/Prime_Numers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@
"\n",
"where $q$ is an odd number and $k$ an integer. We can do this because we know that 2 is the only even prime number and therefore $p$-1 must be even if the prime number is larger than 2. For $p-1$ being even we can factor it as a product of $k$ times 2, times an even number.\n",
"\n",
"Let $a$ be a number not divisible by $p$, then **one** of the following two conditions is true:\n",
"Let $a$ be any number not divisible by $p$, then **one** of the following two conditions is true:\n",
"\n",
"$$a^q-1=0\\textrm{ (mod p)}$$\n",
"$$a^{cq}+1=0\\textrm{ (mod p)}$$\n",
Expand Down