# Where to pitch the next tent?

I am stuck solving this "Trees and Tents" puzzle. How to solve the rest of the puzzle?

For does who don't know the puzzle, these are the "Trees and Tents" rules:

• A tent must be placed next to every tree (horizontally or vertically)
• Tents cannot be next to each other (also not diagonally)
• The numbers indicate how many tents are in that row/column

• what is the significance of the white and green empty squares? Apr 4, 2020 at 23:26
• Sorry, I forgot to mention that, but the white squares still need to be filled to finish the puzzle. You can fill a square with either grass or a tent. So the green squares are grass, meaning that there is no tent at that spot. Apr 5, 2020 at 13:33

(Second try, somehow missed an empty cell on the first row in the previous answer...)

On column 8, one of the two bottom cells must be a tent. So we can mark the third cell from the bottom as empty, giving us only one possibility for the tree just above?

• That's what I was looking for, thanks!! It's always so obvious once you see it... Apr 3, 2020 at 12:24

One of row 4, column 3&4 must be a tree, therefore r5c4 is blank, and c4 can be filled.

• Correct! Unbelievable, I have been staring at this for I don't know how long, and this is already the second clue, very impressive. Thanks! Apr 3, 2020 at 12:29

Here's another way to continue, though it results in the same moves as the accepted answer:

Column 9 needs one more tent, for one of the trees at R4C8 or R6C8. Therefore the other tree must have its tent in column 7, at R4C7 or R6C7. That means that R5C7 must be blank and R8C7 must have the remaining tent for that column.

• Same result indeed, but very different reasoning. Interesting, I clearly nead a bit more practice with this puzzle, but this has learned me a lot already :) Thanks also! Apr 3, 2020 at 12:59

Row 5 has no number associated with it, meaning 0 tents on that row. Once you eliminate the cells on row 5, it is straightforward to continue.

• I don't think that's the case in general. For example, if you follow the source link given by OP, one of the examples has tents on rows which don't have a number indicated.
– Jafe
Apr 3, 2020 at 18:47
• @jafe The sum of the columns must equal the sum of the rows (23 in this case), so since there is only one missing number, it can be deduced. Apr 3, 2020 at 19:17
• @JaapScherphuis Ah, didn't think of that. Good point!
– Jafe
Apr 3, 2020 at 19:19
• Actually, the row/column sums must also equal the number of trees, so you can have a missing column number too. Apr 3, 2020 at 19:30
• I should have mentioned that in my question, but if a row/column number is missing, then it can be any number (they are just hidden to increase the difficulty I guess). Most other puzzles in the app have more hidden values and also 0's as values. It is a bit unfortunate that this puzzle has only one hidden value, and none of the values is 0, which makes it seem like the empty value means 0, but that is not necessarily the case. Apr 5, 2020 at 13:41