{"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":"Period of cubes mod $n$. The $n$-th term $a(n)$ is the smallest positive integer $T$ such that $\\forall k \\in \\mathbb{N}$, $(k+T)^3 \\equiv k^3 \\pmod n$. The length of the minimal positive period of the sequence $k^p \\pmod n$. $a_p(n) = \\min \\{ T \\in \\mathbb{N}^+ \\mid \\forall k \\in \\mathbb{N}, (k+T)^p \\equiv k^p \\pmod n \\}$. 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.","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"]}