{"id":"formal-conjectures/OEIS__282779","url":"https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectures/OEIS/282779.lean","repo":"https://github.com/google-deepmind/formal-conjectures","score":0,"title":"OEIS A282779: Period of $p$-th powers modulo $n$","domain":"math.NT","source":"formal-conjectures","problem":{"number":"A282779","status":"solved","collection":"oeis"},"reviews":0,"subject":"math.NT","summary":"Conjecture: let $a_p(n)$ be the length of the period of the sequence $k^p \\bmod n$ where $p$ is a prime, then $a_p(n) = n/p$ if $n \\equiv 0 \\pmod{p^2}$, else $a_p(n) = n$. A formal proof has been found with the methods described in [arxiv/2605.22763](https://arxiv.org/abs/2605.22763).","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"reactions":{},"formalized":true,"formalizations":["https://github.com/mo271/formal-conjectures/blob/a32396489dcb8f86c3549b93aa358ac6a10a3a1f/FormalConjectures/OEIS/282779.wip.lean#L104"]}