Sunday Times Teaser 3169 – Cancel Culture — Amp It Up!
by Stephen Hogg
Published Sunday June 18 2023 (link)
A heckled lecturer used her megaphone. The power reaching its amplifier’s input was multiplied by a two-figure whole number (the “intrinsic gain”). In each of three stages a fraction of the power was lost but, by good design, each of the three fractions was under one-twentieth. Curiously, each happened to have a different two-figure prime denominator.
It turned out that the effective gain in the process (the ratio of the output power to the input power) was a whole number. In addition, the intrinsic gain and the effective gain both started with the same digit.
In ascending order, what were the three fractions?
6 Comments
Leave one →
A faster version.
Very compact.
Yes, I went for simplicity rather than speed on this one. But updated now to
improve the speed without a large increase in the number of lines of code.
Under 10 ms (reusing some of your techniques).
A little different.