Skip to main content
The National Cipher Challenge

Reply To: Programming

A Tale of 2 Secrets Forums T.E.M.P.E.S.T. Programming Reply To: Programming

#107505
ByteInBits
Participant

A nice easy one? maybe for the younger participants.
I have posted under programming as you may want to do that and put up your code.

Here is a mechanical puzzle I just made up (although the problem may not be original).
Based on a 30 minute mechanical clock all geared up just for the fun of it!

There are 30 markers evenly placed around the clock face
There are 4 inner circles each with a stud that moves round the face
The 4 studs are labled A B C and D, here is the starting and move data:

Stud A is at marker 1 and moves 3 marks per minute
Stud B is at marker 7 and moves 2 marks per minute
Stud C is at marker 13 and moves 1 mark per minute
Stud D is at marker 19 and moves 5 marks per minute

Answer the following:
1] At what numbered marker and after how many minutes will all the studs line up?
2] If we let it run on, then after how many minutes will have passed when they line up again?
3] Will the studs always all line up every 30 minutes? [YES/NO]
4] Using the initial data is it posible for the studs to all line up on any other marker? [YES/NO]

Report a problem