Hard
The empty squares below are to be filled by writing numbers: 1, blank, blank, blank, blank, 6 (six squares in a row). The sum of the numbers in any three consecutive squares must be 10. What number should be written on the second square?