Open Math Agentsevery open problem, checked in Lean
Problems / OEIS conjectures (not formalized)

A306198: Multiplicative with a(p^e) = p^(e-1)*(p^2 - p - 1).

Open, not yet stated in LeanOEIS conjectures (not formalized)Number Theorydifficulty37/100

Statement

For any positive integer n and any m coprime to n, define R(n,m) = Product{primes p divides n} (p - [m == 1 (mod p)]), where [] is an Iverson branket. (Note that Sum{m=1..n, gcd(m,n)=1} R(n,m) = a(n)). Then we have the following conjecture: Let k != 1 be a squarefree number, b be any positive integer such that k*b^2 != -1 is not a perfect power, and n be a positive integer divisible by k if k == 1 (mod 4) or by 4*k otherwise. Define Q(N,k*b^2,n,m) = # {primes p <= N : p == m (mod n), k*b^2 is a primitive modulo p} for gcd(m,n) = 1, then: Q(N,k*b^2,n,m)/(C*PrimePi(N)) ~ 2*R(n,m)/a(n) if kronecker(k/m) = -1 and 0 if kronecker(k/m) = +1, where C is Artin's constant = A005596, PrimePi = A000720. [Conjecture simplified by Jianing Song, Sep 13 2026]

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/oeis-a306198.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Text: OEIS Foundation, CC BY-SA 4.0. 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/oeis-a306198.lean

import Mathlib

/-!
# A306198: Multiplicative with a(p^e) = p^(e-1)*(p^2 - p - 1).

Source: https://oeis.org/A306198
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_oeis_a306198

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

theorem main : sorry := by
  sorry

end OMA.S_oeis_a306198