Problem 3044 · Medium

Most Frequent Prime

Read every straight run of digits leaving each cell in eight directions, count the primes above ten, and keep the most frequent one.

Open the interactive visualisation