### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,367)
- misc (4)
- project euler (2)
- puzzle (90)
- puzzle# (48)
- site news (58)
- tantalizer (94)
- teaser (7)

### Site Stats

- 233,129 hits

Programming Enigma Puzzles

20 November 2012

Posted by on **From New Scientist #2652, 19th April 2008**

A snakes and ladders board consists of a 10-by-10 grid of squares. In the first row (at the bottom) the squares are numbered from 1 to 10 from left to right. Then in the second row the squares are numbered 11 to 20 from right to left. Then in the third row they are 21 to 30 from left to right again, and so on, ending up at square “100” in the top left-hand corner.

From such a board I have cut out a square-shaped piece consisting precisely of some of its squares, but not including square “1”. The total of all the numbers in my piece is the square of one of the numbers in it.

What is that total?

[enigma1490]

%d bloggers like this:

The following Python program runs in 40ms.

Solution:The total sum of all the numbers in the cut out square is 225.