Answer the question
In order to leave comments, you need to log in
How to construct Latin Damm square for arbitrary order N?
According to the finished square (N==10) - everything is simple, take it and use it.
But not every square is suitable.
For example, if we take the following square (N==10), then for
572 and 527 - the check digit is the same (==0)
{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 },
{ 9, 0, 1, 2, 3, 4, 5, 6, 7, 8 },
{ 8, 9, 0, 1, 2, 3, 4, 5, 6, 7 },
{ 7, 8, 9, 0, 1, 2, 3, 4, 5, 6 },
{ 6, 7, 8, 9, 0, 1, 2, 3, 4, 5 },
{ 5, 6, 7, 8, 9, 0, 1, 2, 3, 4 },
{ 4, 5, 6, 7, 8, 9, 0, 1, 2, 3 },
{ 3, 4, 5, 6, 7, 8, 9, 0, 1, 2 },
{ 2, 3, 4, 5, 6, 7, 8, 9, 0, 1 },
{ 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 }
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question