Goldman Sachs Interview Question

Write a function to detect the two-number division that will result in a recurring reminder