Mind Skill Games mascot
Mind Skill Games — Sharpen Your Mind, One Game at a Time
Logic riddle

A digital safe opens only when you enter a four-digit number where the first digit is half the second, the third digit is the sum of the first and second, and the fourth digit is twice the second. The digits are all unique and non-zero. What is the code?

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: Medium. More like this: Logic riddles with answers or try Einstein's Logic Grid for a different kind of puzzle.

More logic riddles

I have four coins in my pocket that total 31 cents. None of them are pennies, yet I cannot make change for a quarter using any combination of them. What are the four coins?

I am hot and sweet and topped with marshmallows, and I warm you on a cold day. What am I?

A lightbulb in a windowless room is connected to two switches outside, marked A and B. Switch A turns the light on, but only if Switch B is turned OFF. If Switch B is turned ON, the light stays off regardless of Switch A. Currently, the light is on. What are the positions of Switch A and Switch B?

A clock gains 5 minutes every hour. It was set to the correct time at 12:00 PM (noon). What real time is it when the clock shows 3:15 PM on the same afternoon?

Three boxes—Red, Blue, and Green—stand on a table. Only one contains a brass key. Red's label reads: 'The key is in this box.' Blue's label reads: 'The key is not in this box.' Green's label reads: 'The key is not in the Red box.' If exactly one label statement is true, which box holds the key?

Two trains start moving toward each other at the exact same time from tracks 200 miles apart. Train A travels at 40 mph, and Train B travels at 60 mph. At the same instant Train A starts, a remarkably fast housefly on Train A's front windshield begins flying toward Train B at 80 mph. When the fly hits Train B's windshield, it instantly turns around and flies back toward Train A at 80 mph, continuing this back-and-forth until the two trains collide. What is the total distance the fly traveled?