isn’t it?The German mathematician G. F. B. Riemann (1826–1866) observed that the distribution of prime numbers is very closely related…

Continue Reading# prime

## Share The π: Honoring Neglected Mathematical Constants

Subsequent occurrences are fairly common. Brun’s and Meissel-Mertens ConstantsPrime numbers make an appearance in two fascinating constants we’ll discuss next.…

Continue Reading## Python Pro Tip: Use Itertools, Generators, and Generator Expressions

Think of the memory such a list would occupy. It would be great if we had something that could just…

Continue Reading## Strong primes

There are a couple different definitions of a strong prime. In number theory, a strong prime is one that is…

Continue Reading## Goldilocks and the three multiplications

Mike Hamburg designed an elliptic curve for use in cryptography he calls Ed448-Goldilocks. The prefix Ed refers to the fact…

Continue Reading## Tricks for arithmetic modulo NIST primes

The US National Institute of Standards and Technology (NIST) originally recommended 15 elliptic curves for use in elliptic curve cryptography…

Continue Reading## Elliptic curve P-384

Possibly, but they have reasons to recommend methods that they believe foreign governments cannot break. The equation of the P-384…

Continue Reading## New prime record: 51st Mersenne prime discovered

The largest known prime is nowWritten in hexadecimal the newly discovered prime isFor decades the largest known prime has been…

Continue Reading## Code doodling: isPrime

Then I’ll run the code on my laptop and time the results for each algorithm testing for primes in the…

Continue Reading## Prime numbers in complex domains are actually quite simple

Likewise, a number in Z[√−2] is said to be divisible by another number in Z[√−2] if the result of the…

Continue Reading