This my puzzle is inspired by this puzzle.

A sleeping snake has 36 consecutively numbered segments.
It is hidden in a 6x6 gridded square ground.
Each snake's segment fits exactly in 1 grid square.
The first segment is the snake's head.
Every two consecutive segment lie in grid that share an edge.
Each row has only 1 special segment.
(A special segment is an $n$th segment where $n$ is a multiple of 6.)
Each column also has only 1 special segment.
(Note : It is like placing 6 rooks in the chessboard, where the rooks do not attack each other.)

A snake charmer knows the position of its head and its tail.

This picture shows the snake's head and tail.
enter image description here

Note : The Head and Tail in the picture just show where the head and tail are, and are not placed facing any particular direction.

How was the snake lying down (asleep) on the ground?.

  • $\begingroup$ Impossible, because the bottom-right corner is inaccesible $\endgroup$
    – boboquack
    Jun 2 '17 at 7:42
  • $\begingroup$ @boboquack think again. It is accessible . $\endgroup$ Jun 2 '17 at 7:43
  • $\begingroup$ Are diagonal segments possible? $\endgroup$
    – Nautilus
    Jun 2 '17 at 7:47
  • $\begingroup$ @Nautilus no diagonals. I will edit the question. $\endgroup$ Jun 2 '17 at 7:48
  • 1
    $\begingroup$ @boboquack the picture just show where the tail is, not the orientation. $\endgroup$ Jun 2 '17 at 7:55

I think the snake sleeps like (picture could have been better):

enter image description here

You only know the endpoint, but not the manner it is turned. So the bottom-right corner can still be reached. The yellow numbers are the multiples of 6 of which only one had to be in a row and column.


because of the location of the tail the botom right corner must be '35' with '34' above. For the first 6 numbers it had to be a 'U' shape as else there was not enough room for all 6-multiples to fit in separate rows and columns. So, I first tried the number '6' on the current position of the '2', but then I couldn't get the whole snake in. After I had the '6' the possible locations of the 6-multiples was a good help to fit the rest of the snake.

  • $\begingroup$ Correct! Could you explain how do you solve this puzzle? $\endgroup$ Jun 2 '17 at 8:02
  • $\begingroup$ +1 for correct answer. Still waiting for your logic explanation. $\endgroup$ Jun 2 '17 at 8:10
  • $\begingroup$ @JamalSenjaya: I've added an explanation of how I found the answer. $\endgroup$
    – Meta45
    Jun 2 '17 at 8:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.