Skip to content

Comment on The Ulam spiral: hidden structure among the prime numbersparent

Comments

diagonal lines alternate between odd and even numbers, therefore all the primes lie along diagonal lines

Huh? If you draw the Ulam spiral on a checkerboard, all odd numbers end up on squares of one color and all even numbers of squares of the other color, but that is neither necessary nor sufficient to get those diagonal streaks in the picture.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.