From The Sunday Times, 31st October 1982 [link]
Teacher was introducing his class to the binary system of notation (wherein the unit values attaching to successive digits from right to left of any integer are 1, 2, 4, 8, 16, etc., as against 1, 10, 100, 1000, etc., in the decimal system).
He went on to explain that many arithmetical relationships are equally valid in both the binary and decimal systems. And gave as the simplest example:
10 × 11 = 110
which in the binary system represents 2 × 3 = 6, pointing out this difference however – that while both factors 10 and 11 are primes in the binary system, only 11 is prime in the decimal system.
Developing this theme he observed that very often such relationships could be described as “pan-palindromic”, in the sense that both of the factors, as well as their product, are numerical palindromes (i.e. each of the three integers reads the same forwards as backwards). His first example was:
1001 × 10101 = 10111101
(which in the binary system represents 9 × 21 = 189), and he pointed out how this time neither factor was a prime using either the binary or decimal system (being patently divisible by 11 and 3 respectively).
He contrasted this with another example:
111 × 1001001 = 111111111
which in the binary system represents: 7 × 73 = 511, where both factors are primes in the binary system, but neither of them are in the decimal system (both being divisible by 3).
To test how well his pupils were taking in all this, he told them to proceed on their own and write down any binary palindromes they could find, of less than twelve digits, which simultaneously, in both binary and decimal systems, factorised into just two different palindromic primes.
What should they have written down?
[teaser1057]
Jim Randell 9:15 am on 13 April 2023 Permalink |
We can use the [[
SubstitutedExpression]] solver from the enigma.py library to solve this puzzle.The following run file executes in 70ms. (Internal runtime of the generated program is 3.0ms).
Solution: FIVE = 8237.
We have:
LikeLike
GeoffR 10:24 am on 14 April 2023 Permalink |
LikeLike