Hacker News new | ask | show | jobs
by deckar01 4497 days ago
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.
Python solution: http://ideone.com/Wh2SR6 Solution perspective: http://www.wolframalpha.com/input/?i=35417600268377072234556...
1 comments

I sometimes wish a HN comment could be 'favourited'.