The smallest number on a square (Ulam) spiral in a 2D grid such that n steps in one of the four axial directions leads to each visited number sharing a common factor greater than 1 with the previous visited number.
A335710
The smallest number on a square (Ulam) spiral in a 2D grid such that n steps in one of the four axial directions leads to each visited number sharing a common factor greater than 1 with the previous visited number.
Terms
- a(0) =1a(1) =3a(2) =30a(3) =1235a(4) =2439a(5) =90000a(6) =88805a(7) =4330458a(8) =4322139a(9) =22001763a(10) =21983004a(11) =1868098088a(12) =2436807593
External references
- oeis: A335710