From The Sunday Times, 25th October 1970 [link]
Each of the five families in Admirals Walk comprised three boys; one of the boys in each family had the same christian name as the surname of one of his neighbours, and no boy had the same christian and surname.
The three christian names of Mr. Arnold’s three sons all had the same initial as the surname of Lawrence, who lived opposite to Benjamin Thomas.
Mr. Gordon’s oldest son had a christian name with the same initial as Clement’s surname. Clement’s father played chess with Jasper Lawrence’s father.
Mr. Oliver was Arnold’s father’s business partner. Godfrey had measles. Mr. Oliver’s oldest son had the same christian name as Crispin’s surname, and also the same initial to his christian name as Arnold’s surname. Arnold lived next door to the man whose son Oswald played truant from school with his cousin Hector Lawrence, until Oswald’s brother Walter, a school prefect, caught them.
Gilbert and Oscar had red hair.
Oliver was in Borstal. What was his surname?
When originally published the condition relating to Mr. Oliver’s sons was given as:
Mr. Oliver’s oldest son had the same christian name as Crispin’s surname, and Mr. Oliver’s youngest son had the same initial to his christian name as Arnold’s surname.
However a correction was published with Brain-Teaser 493 stating:
It is regretted that in para. 3, line 7, “youngest” should have read “eldest”. However, as the correct initials of these boys can be proved independently and most solvers gave the correct answer, this answer will stand.”
I have made the correction in the puzzle text above, although instead of just changing “youngest” to “eldest”, as we are already talking about Mr. Oliver’s oldest son, I used “and also”.
This puzzle was originally published with no title.
[teaser491]
Jim Randell 10:45 pm on 15 August 2019 Permalink |
This Python program collects possible fractions, and then uses a recursive function to select viable sets that Kaz could have chosen. These sets are then examined to find candidates where the sum is expressed as a fraction consisting of two palindromes.
Run: [ @repl.it ]
from fractions import Fraction as F from enigma import (irange, nsplit, gcd, join, printf) # collect fractions less than 1 fs = list() # consider overlaps from 1 to 15 for n in irange(1, 15): for (a, b) in zip(irange(n, 1, step=-1), irange(1, n, step=1)): if a < b: fs.append((a, b)) # generate sets of fractions, using the digits in ds, and: # one of the fractions consists of consecutive numbers # two of the fractions are in lowest terms def choose(fs, ds=set(), ss=[]): # are we done? if not ds: # find fractions in their lowest terms rs = list((a, b) for (a, b) in ss if gcd(a, b) == 1) # there should be exactly 2 of them if len(rs) != 2: return # and exactly one of them must consist of consecutive numbers if sum(b == a + 1 for (a, b) in rs) != 1: return yield ss else: for (i, (a, b)) in enumerate(fs): d = nsplit(a) + nsplit(b) if len(set(d)) < len(d) or not ds.issuperset(d): continue yield from choose(fs[i + 1:], ds.difference(d), ss + [(a, b)]) # check for palindromes def is_palindromic(n): ds = nsplit(n) return ds == ds[::-1] # choose the set of fractions for ss in choose(fs, set(irange(1, 9))): # calculate the sum of the fractions t = sum(F(a, b) for (a, b) in ss) if is_palindromic(t.numerator) and is_palindromic(t.denominator): printf("{ss} = {t}", ss=join((join((a, "/", b)) for (a, b) in ss), sep=" + "))Solution: Zak’s answer is 545/252.
The fractions Kaz has chosen are:
There are 10 sets of fractions that Kaz could have chosen, but only one of these sets has a total consisting of palindromic numerator and denominator when expressed in lowest terms.
LikeLike