6

In the regular square lattice create a walk moving according the value of a counter. Consider two types of walks: In the first walk advance forward one unit if the counter is a composite number and rotate 90 degrees if the counter is a prime. In the second, move forward if the number is prime and rotate 90 degrees if not. The walks resemble random walks.

Is someone else has more information about these walks?

First walk:

enter image description here enter image description here enter image description here

Second walk:

enter image description here enter image description here enter image description here

  • It's a very cool visualization of primes and composites – alkabary May 07 '15 at 06:46
  • There's some discussion on the topic of the first walk and more diagrams at http://math.stackexchange.com/questions/2072308/help-with-a-prime-number-spiral-which-turns-90-degrees-at-each-prime Also see https://oeis.org/A268463 – PM 2Ring Jan 02 '17 at 04:37

0 Answers0