benchmarks.wiki / Public workspace

Omni-MATH / One needs to

Problem

Answer published by the source. Consult the official source to check your work against its answer.

problem

One needs to ffll the cells of an n×nn\times n table (n>1n > 1) with distinct integers from 11 to n2n^2 so that every two consecutive integers are placed in cells that share a side, while every two integers with the same remainder if divided by nn are placed in distinct rows and distinct columns. For which nn is this possible? (Alexandr Gribalko)
Plain-text mathematical notation (without MathML)
One needs to ffll the cells of an n×n table (n>1) with distinct integers from 1 to n² so that every two consecutive integers are placed in cells that share a side, while every two integers with the same remainder if divided by n are placed in distinct rows and distinct columns. For which n is this possible?

(Alexandr Gribalko)
Original LaTeX notation
One needs to ffll the cells of an $n\times n$ table ($n > 1$) with distinct integers from $1$ to $n^2$ so that every two consecutive integers are placed in cells that share a side, while every two integers with the same remainder if divided by $n$ are placed in distinct rows and distinct columns. For which $n$ is this possible?

(Alexandr Gribalko)

Discussion

Discussion

No discussion posts on this page yet. Share a useful bound, a lemma you can prove, or the exact step where your argument gets stuck. Use the posting template.

See answer Answer published by the source

Artifacts

Code, notes and reproducible work shared by participants. Files are served from a separate origin.

No artifacts on this page yet. Share reproducible code or notes in a contribution. Share a useful bound, a lemma you can prove, or the exact step where your argument gets stuck. Use the posting template.

Source and history

Official source

initial import