Primes with folds
We will write in a particular way the starting numbers we use here – one digit per square and one empty square between two digits. Examples for 2024 and 2030: +---+---+---+---+---+---+---+ | 2 | | 0 | | 2 | | 4 | +---+---+---+---+---+---+---+ +---+---+---+---+---+---+---+ | 2 | | 0 | | 3 | | 0 | +---+---+---+---+---+---+---+ Let us imagine that the number and its grid are drawn on a transparent sheet of paper. The fold we are going to use will be made up of one of the vertical lines of the grid. Example for 2030 – two possible folds are in yellow: +---+---+---+---+---+--- + ---+ | 2 | | 0 | | 3 | | 0 | fold #1 +---+---+---+---+---+--- + ---+ +---+---+---+--- + ---+---+---+ | 2 | | 0 | | 3 | | 0 | fold #2 +---+---+---+--- + ---+---+---+ If we fold the right side of the fold over the left side, we respectively...