I am trying to apply the Chinese remainder theorem to solve the time required for all of the events to occur simultaneously. I am ignoring the GIF timing bug.
1. Normalize times to integers.
2. Assume congruence at x = t mod (t+1).
3. Solve congruence system.
4. Denormalize result.
Comments
I am trying to apply the Chinese remainder theorem to solve the time required for all of the events to occur simultaneously. I am ignoring the GIF timing bug.
Python solution: http://ideone.com/Wh2SR6 Solution perspective: http://www.wolframalpha.com/input/?i=35417600268377072234556...I sometimes wish a HN comment could be 'favourited'.