nick has a six digit code. He remembers it as three 2-digit numbers. The first number is between 10 and 20. The second number is 3 times the first number. The third number is 5 times the first number. All six digits are different. Work out the code
nick has a six digit code. He remembers it as three 2-digit numbers. The first number is between 10 and 20. The second number is 3 times the first number. The third number is 5 times the first number. All six digits are different. Work out the code
Let x be the first number. It is given that x >= 10.
5x <= 99. So x <= 19.
Now just try all numbers from 10 to 19 as the first number and see which one works