### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,609)
- enigma-book-1982 (70)
- misc (5)
- project euler (2)
- puzzle (90)
- puzzle# (173)
- site news (76)
- tantalizer (189)
- teaser (7)
- today (1)

### Site Stats

- 310,316 hits

Programming Enigma Puzzles

17 June 2022

Posted by on **From New Scientist #2013, 20th January 1996** [link]

Within the Earth’s atmospheric range, it is not possible to convert any whole number of degrees Fahrenheit into Celsius by reversing the digits. There is a good approximation in the case of 82 °F, which is nearly 28 °C the same may be said for 61 °F and 16 °C, but in neither case is the conversion exact.

It is possible to construct another scale to Celsius, sharing zero as freezing point, but with a different boiling point, which is a whole number berween Celsius’s 100° and Fahrenheit’s 212°, so that there is a positive point on the Fahrenheit scale which may be converted exactly into the equivalent temperature on the alternative scale simply by reversing the two digits.

What is boiling point on the alternative scale, and what is the convertible Fahrenheit temperature?

[enigma858]

%d bloggers like this:

If

Bis the boiling point of water on the “Enigma” (E) scale (100 <B≤ 212) then we can convert from C to E as follows:And we can convert F to C with:

So, if we start with a measurement in F, the corresponding E value is:

So, alphametically, starting with a 2-digit F measurement of

XY, we have:And we can use this function with the [[

`SubstitutedExpression`

]] solver from theenigma.pylibrary to solve the puzzle.The following run file executes in 82ms.

Run:[ @replit ]Solution:The boiling point of water on the alternative scale is 156. A temperature of 62 on the Fahrenheit scale is equivalent to a temperature of 26 on the alternative scale.So: 62 °F = 26 °E = 16.(6)… °C.

Somewhat cooler than today’s projected maximum temperature in the UK.

Without the restriction on the range of boiling points, there are many possible solutions.

For example B = 87°, 92°F converts to 29°; or B = 225°, 52°F converts to 25°.