+---------+ +---------+ +---------+ +---------+ | P Q R S | | T U V | | M N O | | P Q R S | +---------+ +---------+ +---------+ +---------+This desire for compact gadgetry has spread to calculators. The digits of Sue are on just five buttons, A to E, as shown:
Button A Button B Button C Button D Button E +------+ +------+ +------+ +------+ +------+ | 0 1 | | 2 3 | | 4 5 | | 6 7 | | 8 9 | +------+ +------+ +------+ +------+ +------+So when Sue types in a number the machine has to predict what she wants. Recently Sue pushed buttons intending to display a three-figure prime number, but the machine displayed a different three-figure prime. Then she pushed some more buttons intending to display a three-figure square, but the machine displayed a different three-figure square.When typing these two numbers Sue had pushed each button at least once.
Which six buttons, listed in order, did Sue push?
Note: Adapted from Enigma Number:1681 by Susan Denham, which appeared in New Scientist on 29 February, 2012.