Left to Solve
Problems / MathOverflow (not formalized)

Existence of an odd prime $p$ such that the sum of last two base-$p$ digits is at least $p$

Open, not yet stated in LeanMathOverflow (not formalized)Number Theorydifficulty55/100

Statement

I conjecture that

For every integer , there exists an odd prime such that the sum of last two base- digits of is .

We may additionally assume that is a prime, a power of 2, or a Giuga number. Otherwise we can take such that the last two base- digits of are for some .

Is there a simple argument that covers (any of) those remaining cases?

Motivation. The conjecture would imply the completeness of sequence OEIS A094960 listing the orders of Bernoulli polynomials whose derivative has integer coefficients. However, in this question I'd like to focus on the stated conjecture, not on Bernoulli polynomials.

Posed by Max Alekseyev · nt.number-theory, prime-numbers, integer-sequences, bernoulli-numbers

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-499750.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-499750.lean

import Mathlib

/-!
# Existence of an odd prime $p$ such that the sum of last two base-$p$ digits is at least $p$

Source: https://mathoverflow.net/questions/499750
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_499750

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_499750