### Random Post

### Recent Posts

### Archives

### Categories

- article (11)
- enigma (1,114)
- misc (2)
- project euler (2)
- puzzle (29)
- site news (43)
- tantalizer (29)
- teaser (3)

### Site Stats

- 166,224 hits

Programming Enigma Puzzles

4 September 2017

Posted by on **From New Scientist #2255, 9th September 2000** [link]

I have constructed a cyclical chain of four-digit perfect cubes such that each cube in the chain has no digits in common with either of its neighbours in the chain. The chain consists of as many different four-digit cubes as is possible, consistent with the stipulation that no cube appears in it more than once.

If I were to tell you how many cubes lie between 1000 and 1331 either by the shorter route or by the longer route round the chain you could deduce with certainty the complete order of the cubes in the chain.

Taking the longer route round the chain from 1000 to 1331, list in order the cubes that you meet (excluding 1000 and 1331).

[enigma1099]

Advertisements

1 September 2017

Posted by on **From New Scientist #1562, 28th May 1987** [link]

Professor Kugelbaum, deep in thought and in a distracted state, wandered onto a building site. He saw a man laying equilateral triangular slabs on a plain flat area. Turning his keen mind from the abstract to the concrete, he asked the man with a sudden inspiration, “What are you doing?”

“I’m laying a town square.”

“But the angles aren’t right.”

“Well, it’s going to be a square in the form of an enormous equilateral triangle”, was the reply.

“I don’t call nine slabs enormous.”

“Ah”, said the workman, “first, I haven’t finished yet: I’ve just started at one apex. Secondly, if you look carefully, you’ll see that there are in fact 13 different triangles to be found in the pattern I’ve already laid [see diagram]. When I’ve finished there will be 6000 times as many

moretriangles to be found in the completed array.”Kugelbaum’s mind began to tick over.

How many slabs will there be in the completed array?

This puzzle brings the total number of *Enigma* puzzles on the site to 1,100 (and by a curious co-incidence on Monday I posted **Enigma 1100** to the site). This means there are (only!) 692 *Enigma* puzzles remaining to post, mostly from the 1990s. There is a full archive of puzzles from the inception of *Enigma* in February 1979 up to May 1987 (this puzzle), and also from September 2000 up to the end of *Enigma* in December 2013. Happy puzzling!

[enigma412]

30 August 2017

Posted by on **From New Scientist #1025, 4th November 1976** [link]

Able, Baker and Charley all crossed the Great Lunar desert last week. They did not use the same route but each divided his journey into three stages, doing the first by camel, the second by mule and the third on foot.

Able went from P to Q, then from Q to R, then from R to S. Baker’s route was from T to Q, Q to W, W to Y. Charley chose U to Q, Q to V, V to X. All these nine stages are of different length. One man had the longest camel ride, another the longest mule ride and the third walked furthest. One had the shortest camel ride, another the shortest mule ride and the third walked least. In fact Able had the shortest camel ride or the longest mule ride or both.

It is further from P to W via Q than from U to R via Q but not so far as from T to V via Q.

Who walked furthest?

[tantalizer474]

28 August 2017

Posted by on **From New Scientist #2256, 16th September 2000** [link]

Whether it’s the “Sydney 2000 games in year 2000” or the “Games in year 2000 in Sydney”, either way, both are arranged in additions (I) and (II), where the only given digits appear in the number 2000 as shown and all other digits have been replaced by letters and asterisks.

In these additions, different letters stand for different digits and the same letter always stands for the same digit whenever it appears, while an asterisk can be any digit.

What is the numeric value of SYDNEY?

[enigma1100]

25 August 2017

Posted by on **From New Scientist #1561, 21st May 1987** [link]

The Ruritanian Secret Service has nine women agents in Britain: Anne, Barbara, Cath, Diana, Elizabeth, Felicity, Gemma, Helen and Irene. Any two of the women may or may not be in contact with each other.

To preserve security contacts are limited by the following rule: for any two of the women there is a unique third woman who is in contact with both of the women. The British Secret Service has so far discovered following pairs of women that are in contact: Anne and Cath, Anne and Diana, Cath and Barbara, Barbara and Gemma, Elizabeth and Felicity.

Which of the women are in contact with Helen? Who is the woman in contact with both Anne and Irene?

[enigma411]

23 August 2017

Posted by on **From New Scientist #1118, 31st August 1978** [link]

It is, I admit, a moot point whether it is better to guess at some of Uncle Bungle’s illegible letters and to hope for the best, or just to leave them out. For some time now I have guessed, but I must admit that my guessing is not what it was, so in this sum anything that is illegible has just been left out. Letters stand for digits, and the same letter stands for the same digit whenever it appears, and different letters stand for different digits. In the final sum all the digits from 0-9 are included.

Write out the correct addition sum.

[puzzle67]

21 August 2017

Posted by on **From New Scientist #2257, 23rd September 2000** [link]

This game starts when I give a row of numbers; some numbers in

italic[red] and some inbold[green]. Your task is to make a series of changes to the row, with the aim of reducing it to a single number or to nothing at all. In each change you make, you select two numbers that are adjacent in the row and are of different font [colour], that is to say one is italic [red] and the other is bold [green]. If the numbers are equal, you delete them both from the row; otherwise you replace them by their difference in the font [colour] of the larger number.For example, suppose I gave you the row:

3,4,3,2,5,2.One possibility is for you to go:

[I have indicated the pair of numbers that are selected at each stage by placing them in braces, the combined value (if any) is given on the line below in square brackets].

3,4,3, {2,5},2

3, {4,3}, [3],2

{3, [1]},3,2

[2], {3,2}

2, [1]You have come to a halt and failed in your task.

On the other hand you could go:

{

3,4},3,2,5,2

[1], {3,2},5,2

{1, [1]},5,2

{5,2}

[3]And you have succeeded in your task.

For which of the following can you succeed in your task?

Row A:9,4,1,4,1,7,1,3,5,4,2,6,1,4,8,3,2.

Row B:2,3,5,9,6,3,1,4,2,3,1.

Row C:1,2,3,4,5,6, …,997,998,999,1000,3,5,7,9,11, …,993,995,997,999.

Row D:3,2,1,4,5,4,3,2,4,3,7,4,1,5,1,4,2,4,3,1,2,7,9,3,7,5,3,8,6,5,8,4,1,5,2,3,1,4,10,6,3,5,7,4,1,4.

I have coloured the numbers in italics red, and those in bold green in an attempt to ensure the different styles of numbers can be differentiated.

When the problem was originally published there was a problem with the typesetting and the following correction was published with **Enigma 1104**:

Due to a typographical error, three of the numbers in

Enigma 1101“Disappearing Numbers” appear in the wrong font. In each case, the following should have been printed in heavy bold type:the second number 3 in the initial example;

the first number 5 in row B;

and the first number 4 in the second line of row D.

I have made the corrections to the puzzle text above.

[enigma1101]

18 August 2017

Posted by on **From New Scientist #1560, 14th May 1987** [link]

The addition sums which Uncle Bungle has been making up recently, with letters substituted for digits, have been getting longer and more complicated. And no one will be surprised to hear that in the latest one everything is not as it should be. In fact

oneof the letters is wrong.Here it is:

What can you say about the letter which is wrong? What should it be? Find the correct sum.

[enigma410]

16 August 2017

Posted by on **From New Scientist #1026, 11th November 1976** [link]

Here is what is left of the league table pinned in our local church door at the end of the season. It shows the number of goals scored in each match rather than the mere result. Each side played each [other side] once and there were no ties in the “points” list.

You would think that the Anvils, having scored more than half the goals scored in the entire competition, must have done pretty well. But in fact, as you see, they came bottom. The Bears beat the Eagles and drew with the Furies. At least one team drew more games than the Casuals. The Dynamos — but that’s enough information.

Can you fill in the table?

[tantalizer475]

14 August 2017

Posted by on **From New Scientist #2258, 30th September 2000** [link]

George called a meeting to inaugurate the National Apathy Party, open to anyone who has never voted in a General Election. He hopes to be the next Prime Minister. The turnout was phenomenal, but he managed to seat them all in Wembley Stadium (capacity 80,000). George proposed that the President and the Committee should be chosen by chance, rather than by ballot. The delegates had been allocated sequential membership numbers of arrival — George, of course, being No. 1. He proposed that one number be chosen at random by the computer — that member would be the President. All members whose numbers divide exactly into the President’s number would be on the Committee. Apathy reigned — this totally undemocratic procedure was agreed.

The computer produced an odd membership number for the President and the number of committee members, including George and the President, was an odd square greater than 10.

What was the President’s membership number?

[enigma1102]

11 August 2017

Posted by on **From New Scientist #1559, 7th May 1987** [link]

There are six footpaths through our extensive local woods, one linking each pair of four large oaks. I decided to go on a long walk starting at one of the oaks, keeping to the footpaths, ending back where I started, covering each of the footpaths exactly twice, and never turning around part-way along a path.

Whenever I was at an oak my watch showed an exact number of minutes, and in the previous 30 seconds up to and including arriving at the oak or in the 30 seconds after leaving the oak the hour and minute hands of the watch were coincident.

I set out sometime after 6am and I was back home before midnight on the same day. I walked at a steady pace from start to finish.

What time was I at the oak at the start of my round walk, and what time did I get back there at the end of the day?

[enigma409]

9 August 2017

Posted by on **From New Scientist #1119, 7th September 1978** [link]

In the following football table and addition sum letters have been substituted for digits (from 0 to 9). The same letter stands for the same digit wherever it appears and different letters stand for different digits. The three teams are eventually going to play each other once — or perhaps they have already done so.

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

Find the scores in the football matches and write out the addition sum with numbers substituted for letters.

[puzzle68]

7 August 2017

Posted by on **From New Scientist #2259, 7th October 2000** [link]

Our sign painter has an odd way of calculating his charges. For each continuous brush-stroke (which can be any shape but must not go over the same ground twice) he charges £1. He paints capital letters in a simple style and does not use two strokes where one would do. So, for example his U, E, G and H would cost £1, £2, £2 and £3 respectively.

My house number is a three-figure prime and I have asked the sign painter to spell out the three different digits (so that, for example, 103 would be ONE NOUGHT THREE and would cost £24). For my house number the cost in pounds equals the sum of the three digits and is also a prime.

What is my [house] number?

[enigma1103]

4 August 2017

Posted by on **From New Scientist #1558, 30th April 1987** [link]

In the following subtraction sum, each letter stands for a different digit. Replace the letters with digits.

[enigma408]

2 August 2017

Posted by on **From New Scientist #1027, 18th November 1976** [link]

Amble, Bumble, Crumble and Dimwit had a jolly night of it at the Old Tyme ball. Each took his wife but did not dance with her. In fact each danced only three dances, changing partner each time, and spent the rest of the night in the bar.

In the Cha-Cha Amble danced with a wife larger than Mrs A and Bumble with a wife larger than Mrs B. Then came the rumba, with Crumble in the arms of a wife larger than Mrs C. Then they did the tango, in which Bumble had a wife smaller than Mrs B and Mrs B was squired by a man fatter than Amble. These were the three dances mentioned and no two men swapped partners [with each other] between the Cha-Cha and the rumba or between the rumba and the tango. No two wives are the same size.

What were the pairings for the rumba?

[tantalizer476]

31 July 2017

Posted by on **From New Scientist #2260, 14th October 2000** [link]

In the following statement digits have been consistently replaced by capital letters, different letters being used for different digits:

ONE and NINE are odd perfect squares, FOUR is an even perfect square.

Find the numerical value of the square root of (NINE × FOUR × ONE).

[enigma1104]

28 July 2017

Posted by on **From New Scientist #1557, 23rd April 1987** [link]

A collector was ordering a thin rectangular box to house insects captured in the field.

“Each of its edges must measure a whole number of inches”, he told the carpenter.

“Well, that leaves a lot of room for manoeuvre”, the other remarked.

“That’s exactly the point”, the collector said. “You see, they cling to the edges of the box for security, poor little mites, and they detest traversing the same edge twice … But though they are confined to the edges they can still dream of unconquerable space. In fact I don’t know which is more important, the volume or the length of the edges. You’d better make the volume in cubic inches equal to the sum of all the 12 edges of the box”.

“Well, that narrows is down a little”, said the carpenter.

“Oh dear, I hope not”, said the collector. “Please make it as big as you can consistent with these specifications”. So saying he rushed out, almost snagging his net on the door handle.

The carpenter produced the box just as he was bidden. Assuming bugs do refuse to traverse any part of an edge previously trodden by them, what is the furthest a captive bug can walk before it becomes bored?

[enigma407]

24 July 2017

Posted by on **From New Scientist #2261, 21st October 2000** [link]

Take a large sheet of paper and a black pen and draw a rectangle ABCD with AB = 10 metres and BC = 2 metres. Now draw lines to divide your rectangle into small squares, each of side 1 centimetre. Place your diagram so that A is due north of D and B is east of A. In each small square draw the diagonal that goes from northwest to southeast. Let P and Q be the mid-points of AD and BC, respectively. Then there is a black line PQ; remove it and replace it by a red line.

Amber is a small ant who can walk along the black lines in your diagram. North of PQ she covers a centimetre in 1 minute, but south of PQ she can cover a centimetre in 30 seconds. She is to walk from C to A and she chooses the quickest route.

1.How long does Amber take on her journey? Give the time, to the nearest second, in hours, minutes and seconds.Ben is another ant who walks along the black lines. North of PQ he goes at the same speed as Amber, but not south of PQ. The fastest time for Ben to get from C to A is 24 hours.

2.South of PQ, how long does Ben take to cover a centimetre? Give the time, to the nearest second, in minutes and seconds.

[enigma1105]

21 July 2017

Posted by on **From New Scientist #1556, 16th April 1987** [link]

I entered the jungle clearing and found, at the centre, six stones numbered 1, 2, 3, 4, 5, 6. My native guide demonstrated the ancient ritual which was enacted on that site.

First I had to arrange the stones in any order I wished, so I put them as 421365. I then noted the number on the first stone — all counting is from the left — is was 4, and so I picked up the fourth stone and placed it at the right hand end. I obtained 421653. Next, I looked at the second stone, a 2, and moved the second stone to the end, to give 416532. I repeated the procedure for the third stone to give 416532, and then for the fourth, fifth and sixth stones, to give successively, 416523. 465231, 652314. The final arrangement was called the result of the ritual.

Just then the high priestess, Sarannah, entered. She arranged the stones in a certain order, carried out the ritual and obtained the result 314625. My guide explained that the arrangement Sarannah started with was the result of applying the ritual to a very special arrangement, which she could not tell me.

What was the arrangement that Sarannah started with?

[enigma406]

19 July 2017

Posted by on **From New Scientist #1120, 14th September 1978** [link]

For some reason Uncle Bungle does not like divisors. This has been left out in the latest division sum which he has produced with letters substituted for digits. Here it is:

Find the divisor and all the digits of the sum.

[puzzle69]

## Recent Comments