Redirecting to Midy's theorem