Да, именно так.
Хотя некоторые решения оказываются диагональными в "строгом" смысле т.е. получаются ломанные диагонали с базовой строкой длины N.
Код:
A,B,C,D,E,F,A,B,C,D,E,F,B,A,A,B,A,E,E,B,E,C,C,F,C,D,F,D,F,C,D,
B,C,D,E,F,A,B,C,D,E,F,B,A,A,B,A,E,E,B,E,C,C,F,C,D,F,D,F,C,D,A,
C,D,E,F,A,B,C,D,E,F,B,A,A,B,A,E,E,B,E,C,C,F,C,D,F,D,F,C,D,A,B,
D,E,F,A,B,C,D,E,F,B,A,A,B,A,E,E,B,E,C,C,F,C,D,F,D,F,C,D,A,B,C,
E,F,A,B,C,D,E,F,B,A,A,B,A,E,E,B,E,C,C,F,C,D,F,D,F,C,D,A,B,C,D,
F,A,B,C,D,E,F,B,A,A,B,A,E,E,B,E,C,C,F,C,D,F,D,F,C,D,A,B,C,D,E,
A,B,C,D,E,F,B,A,A,B,A,E,E,B,E,C,C,F,C,D,F,D,F,C,D,A,B,C,D,E,F,
B,C,D,E,F,B,A,A,B,A,E,E,B,E,C,C,F,C,D,F,D,F,C,D,A,B,C,D,E,F,A,
C,D,E,F,B,A,A,B,A,E,E,B,E,C,C,F,C,D,F,D,F,C,D,A,B,C,D,E,F,A,B,
D,E,F,B,A,A,B,A,E,E,B,E,C,C,F,C,D,F,D,F,C,D,A,B,C,D,E,F,A,B,C,
E,F,B,A,A,B,A,E,E,B,E,C,C,F,C,D,F,D,F,C,D,A,B,C,D,E,F,A,B,C,D,
F,B,A,A,B,A,E,E,B,E,C,C,F,C,D,F,D,F,C,D,A,B,C,D,E,F,A,B,C,D,E,
B,A,A,B,A,E,E,B,E,C,C,F,C,D,F,D,F,C,D,A,B,C,D,E,F,A,B,C,D,E,F,
A,A,B,A,E,E,B,E,C,C,F,C,D,F,D,F,C,D,A,B,C,D,E,F,A,B,C,D,E,F,B,
A,B,A,E,E,B,E,C,C,F,C,D,F,D,F,C,D,A,B,C,D,E,F,A,B,C,D,E,F,B,A,
B,A,E,E,B,E,C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