# How the snake laid down in the ground

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.

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?.

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

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

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.

Explanation:

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.

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