A padlock requires a 3-digit code using distinct digits from 1 to 9. 1. The sum of the three digits is 15. 2. The second digit is double the first digit. 3. The third digit is an odd number greater than the second digit. What is the 3-digit code?
249
Let digits be A, B, C. B = 2A, so A + 2A + C = 15, meaning 3A + C = 15. If A=1, C=12 (invalid). If A=3, C=6 (not odd). If A=4, B=8, C=3 (not greater than B). Thus A=2, B=4, and C=9, yielding 249.
About this riddle
Logic riddles give you a few facts and ask what must be true. List what you know, cross out what cannot be, and see what is left.
Difficulty: Hard. More like this: Logic riddles with answers or try Einstein's Logic Grid for a different kind of puzzle.
More logic riddles
A digital clock displays time in 24-hour format (HH:MM, from 00:00 to 23:59). How many times in a single 24-hour period does the display form a palindrome (reading the same forward and backward)?
The firework is bigger than the sparkler, and the parade float is bigger than the firework. Which one is the middle size?
You have two identical hourglasses: one measures 7 minutes, and the other measures 4 minutes. Without using any other timekeeping device, how can you measure exactly 9 minutes?
Three friends—Alex, Blake, and Casey—wear hats of different colors: Red, Blue, and Green. - Alex is not wearing the Red hat. - Blake is wearing the Blue hat. What color hat is Casey wearing?
Five distinct houses are painted different colors: red, blue, green, yellow, and white. The green house is to the immediate left of the white house. The red house is somewhere to the right of the green house. The blue house is at one of the two ends. If the yellow house is not next to the blue house, what color is the house in the exact middle?
If you multiply me by any other single-digit number, the sum of the individual digits of the resulting product will always equal me. What number am I?

