The number of steps for a walk on a square spiral numbered board when starting on square 1 and stepping to an unvisited square containing the lowest prime number, where the square is within a block of size (2n+1) X (2n+1) centered on the current square. If no unvisited prime numbered squares exist within the block the walk ends.

A336494

The number of steps for a walk on a square spiral numbered board when starting on square 1 and stepping to an unvisited square containing the lowest prime number, where the square is within a block of size (2n+1) X (2n+1) centered on the current square. If no unvisited prime numbered squares exist within the block the walk ends.

Terms

    a(0) =7a(1) =37a(2) =65a(3) =308a(4) =654a(5) =7214a(6) =21992a(7) =49850a(8) =222791a(9) =1146922a(10) =1912101a(11) =6372680a(12) =23077800

External references