Prime numbers and random walks in a square grid

Authors:
  • AFAlberto Fraile
    Alberto Fraile
  • OKOsame Kinouchi
    Osame Kinouchi
  • PDPrashant Dwivedi
    Prashant Dwivedi
  • RMRoberto Martínez
    Roberto Martínez
  • TRTheophanes E. Raptis
    Theophanes E. Raptis
  • DFDaniel Fernández
    Daniel Fernández

Abstract
In recent years, computer simulations are playing a fundamental role in unveiling some of the most intriguing features of prime numbers. In this work, we define an algorithm for a deterministic walk through a two-dimensional grid that we refer to as Prime Walk. The walk is constructed from a sequence of steps dictated by and dependent on the sequence of last digits of the primes. Despite the apparent randomness of this generating sequence, the resulting structure -- both in 2d and 3d -- created by the algorithm presents remarkable properties and regularities in its pattern that we proceed to analyze in detail.
All Related Versions