### Recent Posts

### Archives

### Categories

- enigma (697)
- project euler (2)
- site news (27)

### Site Stats

- 69,216 hits

Programming Enigma Puzzles

20 August 2014

Posted by on **From New Scientist #2458, 31st July 2004**

This puzzle has appeared as an Enigma puzzle in both English and French versions, but incredibly it also works in Portuguese.

Triangular numbers are those that fit the formula n×(n+1)/2, like 1, 3, 6 and 10. In the following statement digits have been consistently replaced by capital letters, different letters being used for different digits: UM, TRES, SEIS, DEZ are all triangular numbers, none of which starts with a zero.

Which numbers are represented (in this order) by UM, TRES, SEIS, and DEZ?

18 August 2014

Posted by on **From New Scientist #1361, 9th June 1983** [link]

Arthur, Barney, Charlie and David are four small but intelligent cub-scouts. At the end of the last Bob-a-Job week each had raised over £1 (no halfpennies). Between them they had totalled exactly £5. Three had raised different amounts and Charlie’s figure was the same as Barney’s. These facts were known to all and each, of course, knew his own figure.

Was David’s figure, expressed in pennies, a perfect square? Charlie, had you got him to believe the wrong answer to that question, could have claimed to know on the strength of it that David had raised more than anyone else. But Arthur (whose total in pennies was not a perfect square) would not have believed the wrong answer, since he was already in a position to deduce the right one.

What precise sum had each one collected?

17 August 2014

Posted by on **From New Scientist #2459, 7th August 2004**

You are probably very familiar with magic squares such as:

in which you have to place the numbers 1 to 9 so that each row, each column and each of the two main diagonals add up to the same total.

Today your task is to do the opposite. Place the numbers 1 to 9 into the grid so that the three row totals, the three column totals, the two main diagonals and the total of the four corner entries are all different.

There are a few ways of doing this but, in order to retain some magic, do it so that the three-figure numbers formed by reading across the first row, by reading across some other row, and by reading down some column are perfect squares.

Find this magicless square.

I’m still waiting for an internet connection at our new house, so I can only post puzzles sporadically at the moment.

14 August 2014

Posted by on **From New Scientist #1360, 2nd June 1983** [link]

In the following, obviously incorrect, division sum, the pattern is correct, but every single figure is wrong.

1 8 1 ___________ 3 2 ) 2 2 6 6 0 7 2

----- 3 4 6 2 8 9 ----- 7 8 6 6 ===Find the correct figures. (The correct division sum comes out exactly. The 3 figures in the answer are all only 1 out).

12 August 2014

Posted by on **From New Scientist #2461, 14th August 2004**

As the crow flies, Joe lives 5 miles from each of his friends Ken and Les, who live 8 miles apart. Every Sunday lunchtime they meet at a convenient pub. It is convenient because the roads to it are straight and flat. They also chose this pub because its location meant they could all leave home at the same time and, after the shortest possible time, all arrive at the same time. Joe can only manage a steady 11 mph and Les a steady 14 mph on their bicycles. Ken, on his motor bike, is limited to 30 mph by the speed limit.

How long do they each take to reach the pub?

10 August 2014

Posted by on **From New Scientist #1359, 26th May 1983** [link]

SLA × SLA = ENIGMA

YSSE × YSSE = ENIGMASUsual letters-for-digits rules. The same letter is the same digit, different letters are different digits, throughout.

What (in letters) is the result of multiplying YE by EIYIELIGMI?

**Note:** I am in the process of moving house, so my time and internet connectivity will be constrained over the next couple of weeks. I’ll keep posting puzzles when I can. Normal service will be resumed when the internet comes to Wales.

8 August 2014

Posted by on **From New Scientist #2462, 21st August 2004**

Alex and his big sister Monica were using a new method to work out their lucky numbers. First they chose at random a number from 1 to 26 and assigned that value to the letter A. They then valued each of the remaining letters B to Z, with a number relating to its position in the alphabet. For example, if A had been given the value 10, then B would be 11, C would be 12, and so on through to Q=26, R=1 … Z=9.

With this exercise complete, they added up the totals for their respective names to find their lucky numbers. Alex was delighted, because (A+L+E+X) was bigger than (M+O+N+I+C+A). And they were both pleased to find that when the two lucky numbers were added together they made a perfect square.

What was the original value chosen for A?

6 August 2014

Posted by on **From New Scientist #1358, 19th May 1983** [link]

I displayed a three-figure number on my calculator. My son looked at the calculator upside-down and said:

“I can see a three-figure number too, and it’s less than yours”.

I added 12 to my number.

“I can still see a number, again less than yours”, he said.

I multiplied my latest number by 6.

“More this time”, he said.

Finally I added 11.

“LESS”, he said, much to my surprise, and then we both laughed.

What number did I originally display?

4 August 2014

Posted by on **From New Scientist #2463, 28th August 2004**

You know that:

• NINETY is divisible by 9.

• TEN is 1 more than a perfect square divisible by 9.

• There are SIX perfect squares between TEN and NINETY.But in those displayed words each capital letter consistently represents a digit, with different letters used for different digits.

Which number should be SENT?

2 August 2014

Posted by on **From New Scientist #1357, 12th May 1983** [link]

The last ball was bowled; the stumps were drawn; and the epic cricket contest between All-Muggleton and Dingley Dell was over for another year. The twenty-two players determined to adjourn to a near-by tavern for refreshment. But they could by no means agree as to which of the four adjacent taverns was most deserving of their favour. At length Mr Pickwick proposed that each player should visit whichever two of the four establishments should best take his fancy; and so it was resolved.

In the ensuing hour just 11 players presented themselves at the Angler, just 11 at the Bull, just 11 at the Crow and just 11 at the Drum. The number who dropped in at both the Angler and the Bull was double the number who imbibed at both the Angler and the Crow and was not surpassed by the number of those who chose any other pair of taverns, which you can mention.

Afterwards it occurred to Mr Winkle to wonder how many players had availed themselves of both the Crow and the Drum. The company was by then too far advanced in high spirits to hit on the right answer and it was agreed to present the problem to you.

31 July 2014

Posted by on **From New Scientist #2464, 4th September 2004**

In the game of buzz the players form a circle and count in turn, the first saying “1”, the next “2”, the next “3” and so on. But every time the next number is a multiple of 7 or contains a 7 the player whose turn it is must say “buzz”, and then the direction in which play is going round the circle is reversed; so after the sixth player says “6”, the seventh says “buzz”, then the one who said 6 says “8” and the one who said 5 says “9” and so on until a player says “buzz” rather than 14, whereupon the one who said 13 must say “15”.

At 27 and 28, and again at 56 and 57, the direction of play is reversed twice in succession, and through the 70s two players must each say “buzz” five times alternately.

In a game which only ended when a player said “97” instead of “buzz” my only contribution was to say “buzz” twice.

(a) Which two numbers did I say “buzz” for?

(b) How many players took part?

29 July 2014

Posted by on **From New Scientist #1356, 5th May 1983** [link]

Four football teams A, B, C and D played each other once. After some (or perhaps all) of the games had been played a table giving some details of the matches played, won and lost etc. was drawn up.

But unfortunately (Uncle Bungle again!) the digits have been replaced by letters. Each letter stands for the same digit (from 0 to 9) wherever it appears, and different letters stand for different digits. The table looked like this:

(Two points are given for a win and one point to each side in a drawn match).

Find the score in each match.

27 July 2014

Posted by on **From New Scientist #2465, 11th September 2004**

I have in mind three numbers each of three digits (no leading zero) in each of which one digit is 3. Of the following statements about them, three are true and three are false.

(a) The number is a prime.

(b) The number is (appropriately) a cube.

(c) The middle digit is the average of the other two digits.

(d) The third digit differs from the second by 3.

(e) The number has as a factor a two-digit prime the difference of whose digits is 3, or whose sum is a cube.

(f) The number belongs (appropriately) to the set of triangular numbers 1, 3, 6, 10, 15, 21…What is the sum of the three numbers?

25 July 2014

Posted by on **From New Scientist #1355, 28th April 1983** [link]

A double number slab is just two rows of squares in a rectangle, with the correct number in each square. The numbers in the top row are just 1, 2, 3, …,

n. In each bottom row square is written the number of times the number above it occurs in the completed slab.So, for instance, if

n=5, you fill in the top row as shown, and in the bottom row you replaceAby the number of 1’s,Bby the number of 2’s, …,Eby the number of 5’s in the whole slab.Given that

nis at least 4, can you say:(a) for what value of

nis it impossible to complete the slab properly?

(b) for what value ofnis each second-row number less than or equal to every number to the left of it?

23 July 2014

Posted by on **From New Scientist #2466, 18th September 2004**

Sixteen players numbered 1 to 16 entered a men’s knockout tennis tournament. In each round the numbers of the remaining players were drawn at random to decide who played whom.

At the end of the tournament each player wrote down the number or numbers of the players he had competed against, in the order in which he had played them. The lists of the two finalists had their numbers in increasing order.

Also, each player worked out the total of the numbers in his list. The highest total was four times the lowest.

Which two players were in the final?

21 July 2014

Posted by on **From New Scientist #1354, 21st April 1983** [link]

In a recent frame at a snooker match the were no penalty points and after each of the 15 reds was potted a colour was potted (each of the six colours following two or three of the reds). The surprising thing about the result was that the winner’s total score was twice that of the loser, and yet they had both potted the same total number of balls.

What was the loser’s total and how many reds, how many yellows, how many greens, how many browns, how many blues, how many pinks and how many blacks did he pot?

(In snooker the potting of a red is followed by the potting of one of the other colours, the red remaining down but the other colour returning to the table. After 15 such events the remaining six colours are potted in the order stated above, reds are worth 1 point and the rest 2-7 in the order stated above).

19 July 2014

Posted by on **From New Scientist #2467, 25th September 2004**

If you are told to draw a rectangle along the lines of a sheet of graph paper such that its area is 40 squares you could choose rectangles measuring 8×5, 10×4, 20×2 or 40×1. Whether you chose the 8×5 or the 10×4 you would find that a diagonal drawn across your rectangle would pass though 12 of the squares.

(1) What is the smallest number of squares of the graph paper that can be the area of THREE different rectangles whose diagonals each pass through the same number of squares?

(2) How many squares does each of those diagonals pass through?

17 July 2014

Posted by on **From New Scientist #1353, 14th April 1983** [link]

Hook, Line and Sinker were the judges for the Cooker Book prize this year as usual. They assembled a short list of six and then, as usual, could not agree on the order of merit. In the end each did his own ranking, giving 6 points for first place, 5 for second and so on (no ties). Then they totalled the points, which produced a final order (also without ties). Hook gave 5 points to the book which in fact came out second and 1 point to the book which finished third. He ranked

“Stuff”above“Nonsense”and gave“Umph”the number of points which Line gave to“Impenetrables”. Line ranked“Gawp”above“Elements”and placed“Impenetrables”below“Umph”. Sinker ranked“Nonsense”third and“Stuff”fifth. No book totalled 13 or 10 or received the same number of points from any two judges. One of the books totalled 8.Can you spell out the final order?

15 July 2014

Posted by on **From New Scientist #2468, 2nd October 2004**

Amber and Ben have a new game which they play on this board.

Starting with Amber and going alternately, they each write their initial in an empty square until the board is full. They each then make a paper copy of the board; Amber cuts hers into three vertical strips and Ben cuts his into two horizontal strips. The board is then wiped clean. Starting with Amber and going alternately, they each place one of their own strips onto the board; each strip must retain its orientation and be placed so as to fit neatly over the two or three squares of the board.

They must not overlap their own strips but when they overlap a strip already placed by the other child then the letters in the overlapping squares must agree. If both children place all their strips then the game is a draw; otherwise a child wins when the other child cannot place a strip.

If both children play as well as possible, who wins or is it a draw?

13 July 2014

Posted by on **From New Scientist #1352, 7th April 1983** [link]

In the following division sum some of the digits are missing, and some are replaced by letters. The same letter stands for the same digit wherever it appears:

- - - ___________ - - ) p k m k h p m d ----- x p k - - ----- k h h m b g ----- k =Find the correct sum.

## Recent Comments