Patchwork

Patchwork (Tatami) is a logic puzzle. Enter the numbers from 1 to N into each area of size N. The same numbers must not be orthogonal to each other.

Patchwork

Rules: Each cell of the grid must contain a number. In each region of N cells, each number in the range 1–N must appear exactly once.
In each row and column, all numbers must appear the same number of times. The same numbers must not be orthogonally adjacent.