Least periods of prime-exponent powers modulo n

Fix a prime pp and a positive integer nn. The residues kp mod nk^p\bmod n repeat as kk increases. What is the least positive shift that preserves every residue?

Why it matters and what counts as progress

Why it matters: The least period determines exactly how many consecutive values are needed to generate the repeating sequence.

What counts as progress: Find a shift that works for all kk and prove that every positive shift that works is at least as large.

How the problem developed

  1. 2017 · Conjecture [1][4]

    Ilya Gutkovskiy Ilya Gutkovskiy’s conjecture attached to the cube sequence proposed n/pn/p when p2p^2 divides nn and nn otherwise.

  2. 31 May 2026 · Lean proof [2][1]

    Google DeepMind’s AlphaProof Nexus For every prime pp and positive integer nn, the least positive period of k↦kp mod nk\mapsto k^p\bmod n is n/pn/p if p2p^2 divides nn, and nn otherwise.

  3. August 2026 · Later AI proof [4]

    Tom Adamczewski’s OEIS Open evaluation The evaluation reports another machine-checked proof of this statement.

Follow new AI contributions to this problem.

Get email updates

Download problem history

AI contribution

Least periods of prime-power maps modulo n

George Tsoukalas, Anton Kovsharov, Sergey Shirobokov, Anja Surina, Moritz Firsching, Gergely Bérczi, Francisco J. R. Ruiz, Arun Suggala, Adam Zsolt Wagner, Eric Wieser, Lei Yu, Aja Huang, Miklós Z. Horváth, Andrew Ferraiuolo, Henryk Michalewski, Edward Lockhart, Codrut Grosu, Thomas Hubert, Matej Balog, Pushmeet Kohli, Swarat Chaudhuri

For every prime pp and positive integer nn, the least positive period of k↦kp mod nk\mapsto k^p\bmod n is n/pn/p if p2p^2 divides nn, and nn otherwise. The agent proves that the proposed shift preserves every residue. It compares prime factors of the modulus and a competing shift to show that the competing shift must be at least as large.

AI involvementAI-autonomous
ImportanceModest
Technical verificationFormal (Lean)
Human understandingFew
Paper date:

Sources

  1. OEIS A282779 and its conjecture history
  2. A282779 theorem and Lean proof
  3. Advancing Mathematics Research with AI-Driven Formal Proof Search
  4. OEIS Open, Appendix A
  5. AlphaProof Nexus results and proof attribution
  6. AlphaProof Nexus proof validation
Publication history