{"id":"formal-conjectures/OEIS__51903","url":"https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectures/OEIS/51903.lean","repo":"https://github.com/google-deepmind/formal-conjectures","score":0,"title":"OEIS A51903: Maximum exponent in the prime factorization of $n$","domain":"math.NT","source":"formal-conjectures","problem":{"number":"A51903","status":"open","collection":"oeis"},"reviews":0,"subject":"math.NT","summary":"Are there composite numbers $n > 4$ such that $n \\equiv a(n) \\pmod{\\phi(n)}$? - Thomas Ordowski, Dec 02 2019 This question is equivalent to Lehmer's totient problem LehmerTotient.lehmer_totient; a positive answer here falsifies the universal statement asked about in Erdos828.erdos_828.variants.lehmer_conjecture. Any composite $n$ with $\\phi(n) \\mid n - 1$ is squarefree, so $a(n) = 1$ and the condition here holds. Conversely, let $n > 4$ be composite with $\\phi(n) \\mid n - a(n)$ and $e = a(n) \\ge 2$, and pick $p$ with $p^e \\mid n$. Then $p^{e-1} \\mid \\phi(n) \\mid n - e$ and $p^{e-1} \\mid n$,…","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"reactions":{},"formalized":true,"formalizations":["https://github.com/anshM123/OEIS-A051903/blob/c0104e7a9cc2d76d86c3a277c372f91a9553a0f6/lean/DMSolutions/OEIS_A051903/Solution.lean#L21-L24","https://github.com/anshM123/OEIS-A051903/blob/c0104e7a9cc2d76d86c3a277c372f91a9553a0f6/lean/DMSolutions/OEIS_A051903/Solution.lean#L27-L30"]}