k holds 8k cells and ends at the odd square (2k + 1)² on the diagonal below right, so a straight line through the spiral picks one number per ring and reads a quadratic in k: a diagonal has a = 4, a line through the centre a = 1 or 2. Euler's m² - m + 41 is prime for m from 0 to 40; at m = 2k it is 4k² - 2k + 41, the line lit at the start, prime for its first 21 values and then at 1763 = 41 · 43 it breaks. On the hexagonal lattice ring r holds 6r cells and ends at the centered hexagonal number 3r² + 3r + 1, so its straight lines read quadratics with a = 3. Every cell is sieved and painted in Rust: yellow for the mark, orange where the quadratic lands on a prime, blue where it lands on a composite, pink for a Mobius value of minus one. The same primes are sieved, counted and found by the carpet stack on the primes page.>}
controls={controls}>