Left to Solve
Problems / MathOverflow (not formalized)

Primes of the form $x^2+ny^2$ such that when you swap x and y you get another prime

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

Statement

Hello, Im looking at primes of the form for where we can swap and and get another prime, I have found many such pairs for many values of n, and i wanted to know if there are any known results about these prime pairs and also if it is known whether there are infinitely many of these pairs (which seems to be the case), or if this follows from a known conjecture.

Now if i call a 'friend' of if and (with the same) and they are both primes, then i also found 'friends' for with different values of

i.e I can also write and and q' is again a prime

So for example and , so id call 151 a 'friend' of 61 but also i have and so 109 is also a 'friend' of 61, hence 61 has 2 friends, now i know this is a long shot but i bet that there exist primes with arbitrarily large amounts of 'friends', i wanted to know if there are any results or conjectures to do with this. The prime with most friends ive found is 12541 which has a friend for Thank you

Posed by Chris Birkbeck · nt.number-theory, prime-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-66816.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-66816.lean

import Mathlib

/-!
# Primes of the form $x^2+ny^2$ such that when you swap x and y you get another prime

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_66816