Mastodon Feed: Post

Mastodon Feed

Reblogged by xor@tech.intersects.art ("Parker Higgins"):

opal@ioc.exchange ("Opalescent") wrote:

@ian

8675309 (as in, Jenny's number from the Tommy Tutone song) is a prime number. What's more, it's the bottom half of a twin prime pair: add 2, and you get 8675311, which is ALSO prime.

If you're writing software that implements number-theoretic algorithms, it can be problematic to test it using small primes like 7 or 11, because small primes tend to have a lot of weird properties tend to trigger exceptions and edge cases. Having a pair of easy-to-remember, "big enough" prime numbers like the Jenny primes is really useful.