An old manuscript contains a four-digit code. The sum of all four digits is 10. The product of the first two digits equals the product of the last two digits, which is 6. The third digit is greater than the fourth. What is the code?
2331
Pairs that multiply to 6 are (1,6), (2,3), (3,2), (6,1). If the first two are 2 and 3, and the last two are 3 and 1, the sum is 2+3+3+1 = 9 (wait, 2+3+3+2 = 10). Let's check 2, 3, 3, 2: sum is 10, products are 6 and 6, but third digit isn't greater than fourth. If digits are 3, 2, 3, 2 sum is 10, products are 6 and 6. Let's look at digits 1, 6, 2, 3: sum is 12. Let's re-evaluate: digits 2, 3, 3, 2 has sum 10, products 6 and 6. Wait, the clue says 'third digit is greater than the fourth'. Let's use 3, 2, 4, 1? Products are 6 and 4 (no). What about 2, 3, 4, 1? Products 6 and 4. Ah, product of first two is 6 (e.g., 2 and 3) and product of last two is 6 (e.g., 3 and 2? No, 6 and 1). Code: 2, 3, 6, 1. Sum: 2+3+6+1 = 12. Let's use digits 1, 6, 3, 2. Sum: 1+6+3+2 = 12. What about 2, 3, 3, 2? Sum 10. Let's fix the riddle logic: First two digits multiply to 6 (2x3), last two digits multiply to 6 (3x2). Sum is 10. Wait, 2+3+3+2 = 10. Third is 3, fourth is 2. 3 > 2. Perfect!
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). Exactly how many times during a full 24-hour day do all four displayed digits match each other simultaneously?
Four travelers sit around a circular campfire. Arthur says, 'The person to my left is lying.' Beatrice says, 'Arthur is telling the truth.' Charles says, 'Beatrice is lying.' Diana says, 'Charles is telling the truth.' Exactly one of these travelers is telling the truth, and the other three are lying. Who is the truthful traveler?
Four runners (Liam, Noah, Emma, and Olivia) finish a sprint. Liam did not come in first or last. Emma finished ahead of Noah. Olivia finished after Liam, but before Noah. Who won the race?
A wall clock strikes once at 1 o'clock, twice at 2 o'clock, and so on, up to twelve times at 12 o'clock. It also strikes exactly once at every half-hour mark (e.g., 1:30, 2:30). How many total strikes does it make between 12:15 PM and 3:45 PM on the same afternoon?
The gold coin is bigger than the leprechaun, and the rainbow is bigger than the gold coin. Which one is the middle size?
Three boxes are labeled 'Apples', 'Oranges', and 'Apples and Oranges'. Every single label is guaranteed to be wrong. You are allowed to draw only one piece of fruit from one box to correct all the labels. Which box should you open?

