{"id":"formal-conjectures/OEIS__84046","url":"https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectures/OEIS/84046.lean","repo":"https://github.com/google-deepmind/formal-conjectures","score":0,"title":"OEIS A84046: Smallest prime $p$ such that $p + n$ is an $n$-th power","domain":"math.NT","source":"formal-conjectures","problem":{"number":"A84046","status":"solved","collection":"oeis"},"reviews":0,"subject":"math.NT","summary":"Smallest prime $p$ such that $p + n$ is an $n$-th power, or $0$ if no such number exists. That is, the smallest prime of the form $k^n - n$. Smallest prime $p$ such that $p + n$ is an $n$-th power, or $0$ if no such prime exists. Conjecture: if a(k) = 0 then k is an even square. This is false for $k = 27$. Every candidate $x^{27} - 27$ factors as $(x^9 - 3)(x^{18} + 3x^9 + 9)$, so $a(27) = 0$, but $27$ is not an even square.","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"reactions":{},"formalized":true,"formalizations":["https://github.com/epoch-research/LeanOpenProblems-results/blob/f02efd9a8c5fc6a735d2a90c33e24f7278ce0ffc/runs/oeis-full-50usd-oai-jajpvieznaevpoyg/a084046_conjecture_0/Submission/Spec.lean#L17"]}