Left to Solve
Problems / MathOverflow (not formalized)

Questions involving primes $p\equiv1\pmod4$

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

Statement

As claimed by Fermat and proved by Euler, any prime can be written uniquely as with , and . For any positive integer , let us define Via computation, I have found that This leads me to pose the following conjecture.

Conjecture. We have

QUESTION 1. Is the conjecture true? If true, how to prove it?

I have another question.

QUESTION 2. Is there a positive contant such that holds?

Concerning this question, I conjecture that exists and its value is probably . I have found that

Your comments are welcome!

Posed by Zhi-Wei Sun · nt.number-theory, prime-numbers, sequences-and-series, binary-quadratic-forms

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-348562.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-348562.lean

import Mathlib

/-!
# Questions involving primes $p\equiv1\pmod4$

Source: https://mathoverflow.net/questions/348562
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_348562

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

theorem main : sorry := by
  sorry

end OMA.S_mo_348562