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 Category: research Comments: 0 Disputed: false Division: math Mentions: 0 Discussed: 0 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 Page: https://delphi.science/r/formal-conjectures/OEIS__84046 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.