  # Last winter I found myself locked out of my house because I couldn't remember the 5-digit code.......What was the code ?

387 views

Last winter I found myself locked out of my house because I couldn't remember the 5-digit code to open the garage door. I used the following facts to get inside.
1. The second and third digits add up to 9.
2. The first digit is equal to the second digit cubed.
3. The sum of the third and fifth digits is the smallest number with exactly five divisors.
4. The fourth digit is equal to 6 times the second-to-last digit.
5. None of the digits repeat.
What was the code ? posted Nov 12, 2015

+1 vote

From point 2, its clear that first digit is either 1 or 8.. (cube of 1 or 2) (else the cube of 3 or more will not be a single digit). But 5th point says none of the digits repeat, so first digit is 8 and second digit is 2.

So, as per point 1, third digit is 7. (as second digit is 2).
As per point 4, second-to-last digit is none other that 4th digit itself for a 5 digit number. So its equal to 6 times of itself. Means, its 0.

the remaining 5th digit is obtained from point 3. the smallest number with exact five divisors is 12 (2,3,4,6,12). So the fifth digit is (12-3rd digit) = 12-7 = 5.

So the number is 82705. answer Nov 13, 2015

First digit is 8 and second 2 from hints 2 and 5.
So third digit is 7 from hint 1.
The fifth digit is 3 from hint 3.
Fourth is 0.
The code is 82703 answer Nov 17, 2015

Similar Puzzles

I went to the bookshop and spent one-half of the money that was in my purse.

When I came out, I found that I had as many cents as I had dollars and half as many dollars as I had cents when I went in. Find the money in my purse when I entered the store.

+1 vote

James Bond needs to access a secret file locked in a locker that can be accessed only by a code. The code is about 7 characters and consists of numbers and letters.
There was a label on the locker as "You force heaven to be empty".

What was the code? I went into the woods and got it. I sat down to seek it. I brought it home with me because I couldn't find it. What is it?

–1 vote

I am thinking of a five digit number such that:
First and last digits are same, their submission is an even number and multiplication is an odd number and is equal to the fourth number. Subtract five from it and we obtain the second number. Then divide into exact half nd we get 3rd number.

What number I am thinking of?

+1 vote

I'm a 5 digit number,
the first and last digits are the same and add up to an even number.
Multiply that number by its self and the number is under 10 and odd.
That will be the fourth number.
Subtract five from it and it will be the second number.
Divide it in half and that is my third number.

What am I?