logoalt Hacker News

markus_zhangyesterday at 12:49 PM4 repliesview on HN

Stupid question on toilet: if prime numbers are 1s and other integers are 0s. What do we get from this “digital” landscape?


Replies

Sharlinyesterday at 1:33 PM

If you plot the positive integers two-dimensionally in a square spiral arrangement, eg.

  5 4 3
  6 1 2
  7 8 9
and so on, and mark all primes, what you get is the Ulam spiral: https://en.wikipedia.org/wiki/Ulam_spiral
show 1 reply
meindnochyesterday at 12:52 PM

The first-order difference of the prime-counting function: https://en.wikipedia.org/wiki/Prime-counting_function

soupspacesyesterday at 2:11 PM

The decimal expansion of an irrational number https://oeis.org/A010051