3 posts tagged "prime numbers"

Translating the Formula for Primes to Rust With AI

After creating the C++ version of C. P. Willans’ formula for primes last week, I asked myself what other language is usually pitted as the fastest ever? And the answer, of course, is Rust.

Translating the Formula for Primes to C++ with AI

Some of you might remember an article I published more or less a year ago, called “Mathematical Curiosities”. In that article I showed an indeed curious formula: the 1964 “Formula for Primes” by C. P. Willans.

Mathematical Curiosities

This post contains some interesting mathematical curiosities I’ve recently learned about.