How to unlock 4-digits lock combination ?

Your suitcase has FOUR digits lock combination A B C D A|B|C|D . Due to a mechanical problem, the gears of the lock get stuck together. and cause the following problems:

When you move gear A A one step, it causes each gear attached to digits A B D A|B|D to increase by 1 1 .

When you move gear B B one step, it causes each gear attached to digits B C D B|C|D to increase by 1 1 .

When you move gear C C step, it causes each gear attached to digits A C D A|C|D to increase by 1 1 .

When you move gear D D , it has no effect at all.

If the FOUR digits right now are on 1087 \large 1087 and to open the suitcase you need to set the lock to 7117 \large 7117 by using only gears A , B , A, B, and C C . If you are going to move A A by a a steps, and B B by b b steps and C C by c c steps, enter your answer as a + b + c \ a +b+ c


The answer is 20.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Anirudh Sreekumar
Jan 18, 2017

1)Since turning any of the gears will increment the position of D ,the total number of turns have to be a multiple of 10.(as the digit on d is already correct)

2) Move gear C, 2 steps, now the digits on B and C match up (are 0 ) and A is at 3.

3)Now make the digit on A equal to 7 by alternating turning the gears A and C twice each, so that the digits on B and C still match up.(are at

4)Rotating each of the gears A and C, 5 more times,the digit on A remains the same after cycle of 10 and digits on B and C are at 7.

4)Turn gear B 4 times it doesn't affect digit of A and all the digits are at the required number 7117

and it takes us 7 turns of gear A,9 turns of gear C and 4 turns of B so the answer is 7+4+9=20

Ossama Ismail
Jan 4, 2017

Answer Answer = 7 + 4 + 9 = 20 = 7+4+9 = 20

a = 7 , b = 4 , a n d c = 9 a = 7 , \ b = 4 ,and \ c = 9

Solve the following equations to get the answer:

  • ( a + c + 1 ) % 10 = 7 (a+c+1) \%10 = 7
  • ( a + b + 0 ) % 10 = 1 (a+b+0) \%10 = 1
  • ( b + c + 8 ) % 10 = 1 (b+c+8)\%10 = 1
  • ( a + b + c + 7 ) % 10 = 7 (a+b+c+7) \%10 = 7

Solve the following equations to get the answer:

How did you do it?

Pi Han Goh - 4 years, 5 months ago

Log in to reply

This problem needs a complete search technique to the find the answer, but here a simple trial and error will solve it : from the given equations possible answers can be written as follow:

a + c = 6 , 16 or 26

a + b = 1, 11, or 21

b + c = 0, 7, or 27

a + b + c = 0, 10, or 20

from the possible solution you will get 7,4, and 9...

Ossama Ismail - 4 years, 5 months ago

@Ossama Ismail How did u get the following equations?

Kaustubh Miglani - 4 years, 5 months ago

These equations are obtained from the intial and the final status of each gear.

e.g. If the initial digit is 3 and the final state is 8, this requires the gear to be advanced for 5 steps or 15 or 25. ... etc. ( this is rotary gear so if you advance it by n n steps it will reach to (n + initial state )%10.

Ossama Ismail - 4 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...