The final square number 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.

A336576

The final square number 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) =59a(1) =947a(2) =313a(3) =3331a(4) =5659a(5) =67547a(6) =253801a(7) =676259a(8) =3162413a(9) =16604417a(10) =29135971a(11) =108235159a(12) =437456497

External references