Finds d < 1000 for which 1/d has largest recurring cycle