### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,314)
- misc (3)
- project euler (2)
- puzzle (78)
- puzzle# (21)
- site news (54)
- tantalizer (80)
- teaser (7)

### Site Stats

- 217,165 hits

Programming Enigma Puzzles

6 February 2019

Posted by on **From New Scientist #987, 12th February 1976** [link]

The poems of Prudence Meek are for all estates and conditions of men. They can be bought bound in velvet or in rags, printed in silver or in grey, scented with myrrh or with soap.

“Selling like hot cakes?” she was asked recently on a radio chat show.

“Verily”, she replied, “27 bound in velvet, 29 printed in silver, 34 scented with myrrh in less than a week. Half those scented with myrrh were printed in silver”.

“How about those scented with soap?”

“Three were not only printed in silver but also bound in velvet.”

“And total sales?”

“57”, the poetess confessed coyly, “but I’ll have you know that I had sold more luxury editions (the sort with velvet, silver and myrrh) than the total sales of Beverley Bunion’s disgusting odes”.

Knowing Bunion’s sales figure, the interviewer could then announce Miss Meek’s score in luxury editions.

What is it?

I’ve marked this puzzle as “flawed”, as, although it is possible to solve it and get a unique answer, the answer I found was different from the published solution. So it seems the setter had a different puzzle in mind.

[tantalizer436]

%d bloggers like this:

I get a different answer to the published solution.

My approach is to assign a number to each of the 8 possible variations of the book. Together these numbers need to sum to 57, and satisfy the other conditions given.

Once we have a viable set of numbers we know that the total sales of Bunion is fewer than the sales of the Velvet+Silver+Myrrh (= VSM) volume.

But if the interviewer is able to deduce VSM knowing the number of B’s sales, it seems to me that VSM must take on the maximum possible value (and B must be one less than this, which is also the maximum possible value for B).

This Python program runs in 82ms.

Run:[ @repl.it ]Solution:The number of luxury editions sold is 17.And Bunion’s sales must be 16.

The breakdown of Meek’s sales is:

where

k = 0..7.Which gives a total of 57.

Checking the other conditions:

The published solution is:

Adopting this approach I get:

These sum to 57, and satisfy the other equations.

We get viable sets of numbers when

xandyare chosen such that none of the above give negative results (so we have13 ≤ x + y ≤ 24andx, y ≤ 17).To fix

x + y = 13(the smallest possible value) we would require some additional condition such as: RGS = 0, VGS = 11, or RSM + RGM = 21It’s possible that if the setter approached the problem this way they just added the 7 enclosed regions together to get 57, forgetting the RGS region (which corresponds to the “outside” of the diagram), implicitly setting RGS = 0.

And if we do assume RGS = 0 (we could add an extra clause to the puzzle to state that the volume was not available in Rags+Grey+Soap, or just that no-one had bought this combination), then we do indeed get a solution of VSM = 13 (and B = 12).

Although I did not come across any further correction/clarification for this puzzle in the Google Books archive of

New Scientist.