PRIME NUMBERS

▸ Spreading the numbers 1 … N onto the grid…
▸ Loading the Sieve of Eratosthenes
▸ Building the Ulam spiral from the center
▸ Measuring density & the x∕ln x estimate
▸ Filtering the numbers divisible only by 1 & themselves…
▸ Ready — Online. ✅
0%
⌂ Mathematics

Simulation room Prime numbers

Prime Numbers
Online
divisible only by 1 & itself
Count & density
🔢 Sieve of Eratosthenes
prime density by block
Range (N)
Primes found
Density
Sieving multiples of
Estimate N∕ln N
Largest prime
Tip
Each cell is a natural number. A bright green number = prime (divisible only by 1 & itself); a dim number = composite, crossed off as a multiple of a smaller number. Primes thin out as you go further.
Hover a cell = see the number & its divisors · click = factorize · adjust speed & range on the right
Your browser has canvas disabled.
Prime density per block (falls as N grows) actual densityestimate 1∕ln x
About Prime Numbers

Prime Numbers is one of 20 topics in the Mathematics domain (số & hình scale) at My Labs — an interactive simulation atlas. This virtual lab runs right in your browser: adjust the parameters, pick a scenario and watch the phenomenon change in real time, with a click-to-inspect cross-section for every structure.

Related topics in Mathematics