A MAN WAS IMPRISONED IN A TROUBLE ROOM WITH ONLY ONE DOOR.
HE WANTS TO ESCAPE.
THERE IS A DIGITAL LOCK TO THE DOOR WHICH NEED A COMBINATION NUMBER.
THERE WAS A DIARY WRITTEN BY FAMOUS SCIENTIST WHO MANAGED TO ESCAPE FROM THAT ROOM.
IT CONTAINED THE DETAILS OF THE COMBINATION. IT WAS AS FOLLOWS:
"The number consistS of 9 digits in which each of the digits from 1 to 9 appears only once.
This number satisfies the following requirements:
a. The number should be divisible by 9.
b. If the most right digit is removed, the remaining number should be divisible by 8.
c. If then again the most right digit is removed, the remaining number should be divisible by 7.
d. etc. until the last remaining number of one digit which should be divisible by 1."
THE MAN WAS INDEED IN GOOD..
HE FOUND THE NUMBER AND ESCAPED BY UNLOCKING THE DOOR USING COMBINATION.
WHAT IS THE COMBINATION???
