Hacker News new | ask | show | jobs
by soliton4 1619 days ago
they way the puzzle is described in the article i really dont get whats the problem of a 6x6. especially after looking at the chess board 5x5. assume every number represents a different chess figure:

    1 2 3 4 5 6    21
    2 3 1 5 6 4    21
    3 1 2 6 4 5    21
    4 5 6 1 2 3    21
    5 6 4 2 3 1    21
    6 4 5 3 1 2    21

   212121212121
1 comments

You've missed the fact that there are two attributes, rank and regiment. So it's something like this for a 3x3:

1A - 2B - 3C

2C - 3A - 1B

3B - 1C - 2A

so, something like:

a6 - b2 - c4 - d3 - e2 - f1

f5 - a4 - b3 - c2 - d1 - e6

e4 - f3 - a2 - b1 - c6 - d5

d3 - e2 - f1 - a6 - b5 - c4

c2 - d1 - e6 - f5 - a4 - b3

b1 - c6 - d5 - e4 - f3 - a2

?

Close. Pretty sure you have to use all values for letter and number combination. For example, you don't have f2.
You have two 2s in the second column
ok thank you. after studying he article again it gets clear.