A password consists of four distinct single-digit numbers. The first digit is three times the third digit. The second digit is two more than the fourth digit. The sum of all four digits is 16. What is the password?
6523
Let the digits be A, B, C, D. A = 3C. B = D + 2. A + B + C + D = 16. Try C = 2 -> A = 6. Remaining sum for B + D = 16 - 6 - 2 = 8. We know B = D + 2, so (D + 2) + D = 8 -> 2D = 6 -> D = 3. Thus B = 5. The digits are 6, 5, 2, 3.
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
What English word has three consecutive double letters in a row?
I am pressed on your cheek or lips to show I care. What am I?
Train A leaves Station A heading east at 60 mph. Simultaneously, Train B leaves Station B heading west on the same track at 40 mph. The stations are 100 miles apart. A bird flies continuously back and forth between the fronts of the two trains at 80 mph until they collide. What total distance does the bird fly?
An antique vault requires a sequence of four colored lights to be lit: Red, Blue, Green, and Yellow. Red must flash before Blue. Green cannot flash immediately after Red. Yellow must be the very last light. What is the only correct sequence?
Three light switches (Red, Green, Blue) sit outside a closed room. Exactly one switch turns on the desk lamp inside. Flipping the Red switch turns on a wall fan. Flipping the Green switch turns on an overhead ceiling light. Which switch turns on the desk lamp?
Four books are stacked vertically. The history book is directly above the poetry book. The science book is somewhere below the math book. The poetry book is directly above the science book. What is the book at the very bottom of the stack?

