Problems(1)
In an 2023×2023 grid we fill in numbers 1,2,⋯,20232 without duplicating. Find the largest integer M such that there exists a way to fill the numbers, satisfying that any two adjacent numbers has a difference at least M (two squares (x1,y1),(x2,y2) are adjacent if x1=x2 and y1−y2≡±1(mod2023) or y1=y2 and x1−x2≡±1(mod2023)).Proposed by chengbilly. combinatorics