OEIS/229969openNumber theory
Ways to write $n = x + y + z$ with six linear and quadratic forms prime
Lean statement
theorem conjecture_4 (n : ℕ) (hn : n > 4) :
∃ x y z : ℕ, 0 < y ∧ 0 < z ∧ x + y + z = n ∧
(x = 3 ∨ x = 6) ∧
(2 * y + 1).Prime ∧ (2 * x * y * z - 1).Prime ∧ (2 * x * y * z + 1).Primesource on GitHub · reference
OEIS/229969openNumber theory
Ways to write $n = x + y + z$ with six linear and quadratic forms prime
Lean statement
theorem conjecture_5a (n : ℕ) (hn : n > 5) :
∃ x y z : ℕ, 0 < x ∧ 0 < y ∧ 0 < z ∧ x + y + z = n ∧
x ∈ ({2, 6, 10} : Finset ℕ) ∧
(x * y - 1).Prime ∧ (x * z - 1).Prime ∧ (y * z - 1).Primesource on GitHub · reference
OEIS/229969openNumber theory
Ways to write $n = x + y + z$ with six linear and quadratic forms prime
Lean statement
theorem conjecture_5b (n : ℕ) (hn : n > 2) (hne : n ≠ 16) :
∃ x y z : ℕ, 0 < x ∧ 0 < y ∧ 0 < z ∧ x + y + z = n ∧
x ∈ ({1, 2, 6} : Finset ℕ) ∧
(x * y + 1).Prime ∧ (x * z + 1).Prime ∧ (y * z + 1).Primesource on GitHub · reference
OEIS/230241openNumber theory
Partitions $n = p + q$ with $p$, $3p - 10$, and $(p - 1)q - 1$ prime
Lean statement
theorem conjecture (n : ℕ) (hn : n > 5) : a n > 0
source on GitHub · reference
OEIS/230507openNumber theory
Triples summing to $n$ with $2m+1$ and $2m^3+1$ prime
Lean statement
theorem conjecture_1 (n : ℕ) (hn : n > 2) : a n > 0
source on GitHub · reference
OEIS/230507openNumber theory
Triples summing to $n$ with $2m+1$ and $2m^3+1$ prime
Lean statement
theorem conjecture_2 (n : ℕ) (hn : n > 8) :
∃ x y z : ℕ, 0 < x ∧ 0 < y ∧ 0 < z ∧ x + y + z = n ∧
(2 * x + 1).Prime ∧ (2 * y + 1).Prime ∧ (2 * z - 1).Prime ∧
(2 * x ^ 4 - 1).Prime ∧ (2 * y ^ 4 - 1).Prime ∧ (2 * z ^ 4 - 1).Primesource on GitHub · reference
OEIS/230718openNumber theory
Smallest $n$-th power equal to a sum of consecutive immediately preceding positive $n$-th powers
Lean statement
theorem conjecture : ∃ n > 3, a n ≠ 0
source on GitHub · reference
OEIS/231201openNumber theory
Sum of two numbers with prime conditions
Lean statement
theorem conjecture (n : ℕ) (hn : 1 < n) : A n
source on GitHub · reference
OEIS/231577openNumber theory
Ways to write $n = x + y$ with $2^x + y(y+1)/2$ prime
Lean statement
theorem conjecture (n : ℕ) (hn : n > 1) : a n > 0
source on GitHub · reference
OEIS/231830openNumber theory
Sequence designed to show there are infinitely many primes congruent to $1$ modulo $4$
Lean statement
theorem conjecture : ∀ n : ℕ, Squarefree (a n)
source on GitHub · reference
OEIS/232174openNumber theory
Representations with prime conditions
Lean statement
theorem conjecture (n : ℕ) (hn : 1 < n) : A n
source on GitHub · reference
OEIS/232194openNumber theory
Ways to write $n = x + y$ with $nx + y$ and $ny - x$ both prime
Lean statement
theorem conjecture_1 (n : ℕ) (hn : n > 2) : a n > 0
source on GitHub · reference
OEIS/232194openNumber theory
Ways to write $n = x + y$ with $nx + y$ and $ny - x$ both prime
Lean statement
theorem conjecture_2 (n : ℕ) :
a n = 1 ↔ n ∈ ({3, 4, 6, 20, 24} : Finset ℕ)source on GitHub · reference
OEIS/232194openNumber theory
Ways to write $n = x + y$ with $nx + y$ and $ny - x$ both prime
Lean statement
theorem conjecture_3 (n : ℕ) (hn : n > 0) (hne : n ∉ ({1, 30, 54} : Finset ℕ)) :
∃ x y : ℕ, 0 < x ∧ 0 < y ∧ x + y = n ∧
(n * x + y).Prime ∧ (n * y + x).Primesource on GitHub · reference
OEIS/232194openNumber theory
Ways to write $n = x + y$ with $nx + y$ and $ny - x$ both prime
Lean statement
theorem conjecture_4 (n : ℕ) (hn : n > 1) (hne : n ≠ 8) :
∃ x y : ℕ, 0 < x ∧ 0 < y ∧ x + y = n ∧ (n * x ^ 2 + y).Primesource on GitHub · reference
OEIS/232194openNumber theory
Ways to write $n = x + y$ with $nx + y$ and $ny - x$ both prime
Lean statement
theorem conjecture_5 (n : ℕ) (hn : n > 1) (hne : n ≠ 8) :
∃ x y : ℕ, 0 < x ∧ 0 < y ∧ x + y = n ∧ (x ^ 4 + n * y).Primesource on GitHub · reference
OEIS/232194openNumber theory
Ways to write $n = x + y$ with $nx + y$ and $ny - x$ both prime
Lean statement
theorem conjecture_6 (n : ℕ) (hn : n > 5) :
∃ p q : ℕ, 0 < q ∧ p + q = n ∧ p.Prime ∧ (n * q ^ 2 + 1).Primesource on GitHub · reference
OEIS/2326openNumber theory
Multiplicative order of 2 mod $2n+1$
Lean statement
theorem conjecture1 (p : ℕ) (hp : p.Prime) (hp_odd : p ≠ 2) :
a ((p ^ 3 - 1) / 2) = p * a ((p ^ 2 - 1) / 2)source on GitHub · reference
OEIS/2326openNumber theory
Multiplicative order of 2 mod $2n+1$
Lean statement
theorem conjecture2 (k : ℕ) (hk : 2 ≤ k) (p : ℕ) (hp : p.Prime) (hp_odd : p ≠ 2) :
a ((p ^ (k + 1) - 1) / 2) = p * a ((p ^ k - 1) / 2)source on GitHub · reference
OEIS/232616openNumber theory
Least $m > 0$ such that $\{2^k - k : k = 1, \dots, m\}$ covers all residues modulo $n$
Lean statement
theorem conjecture_2 (x y n m : ℕ) (hx : 1 < x) (hy : 1 < y) (hn : 1 < n) (hm : 1 < m) :
x ^ n - n = y ^ m ↔ (x = 2 ∧ n = 5 ∧ y = 3 ∧ m = 3) ∨ (x = 2 ∧ n = 7 ∧ y = 11 ∧ m = 2)source on GitHub · reference
OEIS/232616openNumber theory
Least $m > 0$ such that $\{2^k - k : k = 1, \dots, m\}$ covers all residues modulo $n$
Lean statement
theorem conjecture_3 (x y n m : ℕ) (hx : 1 < x) (hy : 1 < y) (hn : 1 < n) (hm : 1 < m) :
x ^ n + n = y ^ m ↔ (x = 5 ∧ n = 2 ∧ y = 3 ∧ m = 3) ∨ (x = 5 ∧ n = 3 ∧ y = 2 ∧ m = 7)source on GitHub · reference
OEIS/233544openNumber theory
Representations $n = k^2 + m$ ($0 < k^2 \le m$) with $\sigma(k^2) + \phi(m)$ prime
Lean statement
theorem conjecture_1 (n : ℕ) (hn : 1 < n) : 0 < a n
source on GitHub · reference
OEIS/233544openNumber theory
Representations $n = k^2 + m$ ($0 < k^2 \le m$) with $\sigma(k^2) + \phi(m)$ prime
Lean statement
theorem conjecture_2 (n : ℕ) (hn : 1 < n) :
∃ k m : ℕ, 0 < k ∧ 0 < m ∧ n = k + m ∧ Nat.Prime (σ 1 k ^ 2 + m.totient)source on GitHub · reference
OEIS/233544openNumber theory
Representations $n = k^2 + m$ ($0 < k^2 \le m$) with $\sigma(k^2) + \phi(m)$ prime
Lean statement
theorem conjecture_3 (n : ℕ) (hn : 1 < n) :
∃ k m : ℕ, 0 < k ∧ 0 < m ∧ n = k + m ∧ Nat.Prime (σ 1 k + m.totient ^ 2)source on GitHub · reference
OEIS/233549openNumber theory
Number of ways to write $n = p + q$ ($q > 0$) with $p$ and $(\phi(p)\phi(q))^4 + 1$ prime
Lean statement
theorem conjecture_1 (n : ℕ) (hn : 2 < n) : 0 < a n
source on GitHub · reference
OEIS/233549openNumber theory
Number of ways to write $n = p + q$ ($q > 0$) with $p$ and $(\phi(p)\phi(q))^4 + 1$ prime
Lean statement
theorem conjecture_2 (n : ℕ) (hn : 2 < n) (hne : n ≠ 26) :
∃ p < n, p.Prime ∧ Nat.Prime ((p.totient * (n - p).totient) ^ 2 + 1)source on GitHub · reference
OEIS/233549openNumber theory
Number of ways to write $n = p + q$ ($q > 0$) with $p$ and $(\phi(p)\phi(q))^4 + 1$ prime
Lean statement
theorem conjecture_3 (n : ℕ) (hn : 3 < n) (hne9 : n ≠ 9) (hne16 : n ≠ 16) :
∃ p < n, p.Prime ∧ Nat.Prime (((p + 1) * (n - p).totient) ^ 2 + 1)source on GitHub · reference
OEIS/233566openNumber theory
Number of primes $p < n$ such that $p \phi(n - p) - 1$ is also prime
Lean statement
theorem conjecture_1 (n : ℕ) (hn : 3 < n) : 0 < a n
source on GitHub · reference
OEIS/233566openNumber theory
Number of primes $p < n$ such that $p \phi(n - p) - 1$ is also prime
Lean statement
theorem conjecture_2 (n : ℕ) (hn : 2 < n) :
∃ p < n, p.Prime ∧ Nat.Prime (p ^ 2 * (n - p).totient - 1)source on GitHub · reference
OEIS/233864openNumber theory
Values $m = \sigma(k)$ ($0 < m < 2n$) with $2n - 1 - m$ and $2n - 1 + m$ prime
Lean statement
theorem conjecture_1 (n : ℕ) (hn : 3 < n) : 0 < a n
source on GitHub · reference
OEIS/233864openNumber theory
Values $m = \sigma(k)$ ($0 < m < 2n$) with $2n - 1 - m$ and $2n - 1 + m$ prime
Lean statement
theorem conjecture_2 (n : ℕ) (hn : 0 < n) :
∃ k, 0 < k ∧ k < 2 * n ∧ Nat.Prime (2 * n + σ 1 k)source on GitHub · reference
OEIS/234246openNumber theory
Number of integers $0 < k < n$ such that $k \phi(n - k) + 1$ is a square
Lean statement
theorem conjecture_1 (n : ℕ) (hn : 0 < n) (hd : ¬(n ∣ 6)) : 0 < a n
source on GitHub · reference
OEIS/234246openNumber theory
Number of integers $0 < k < n$ such that $k \phi(n - k) + 1$ is a square
Lean statement
theorem conjecture_2 (n : ℕ) :
a n = 1 ↔ n ∈ ({4, 5, 8, 9, 12, 13, 24, 33, 49} : Finset ℕ)source on GitHub · reference
OEIS/234246openNumber theory
Number of integers $0 < k < n$ such that $k \phi(n - k) + 1$ is a square
Lean statement
theorem conjecture_3 (n : ℕ) (hn : 60 ≤ n) :
∃ k, 0 < k ∧ k < n ∧ IsSquare (k + (n - k).totient)source on GitHub · reference
OEIS/234246openNumber theory
Number of integers $0 < k < n$ such that $k \phi(n - k) + 1$ is a square
Lean statement
theorem conjecture_4 (n : ℕ) (hn : 60 < n) :
∃ k, 0 < k ∧ k < n ∧ IsSquare (σ 1 k + (n - k).totient)source on GitHub · reference
OEIS/234246openNumber theory
Number of integers $0 < k < n$ such that $k \phi(n - k) + 1$ is a square
Lean statement
theorem conjecture_5 (n : ℕ) (hn : 7 < n) (hne10 : n ≠ 10) (hne20 : n ≠ 20) :
∃ k, 0 < k ∧ k < n ∧ IsSquare (k.totient * (n - k).totient + 1)source on GitHub · reference
OEIS/234246openNumber theory
Number of integers $0 < k < n$ such that $k \phi(n - k) + 1$ is a square
Lean statement
theorem conjecture_6 (n : ℕ) (hn : 7 < n) (hne10 : n ≠ 10) (hne19 : n ≠ 19) :
∃ k, 0 < k ∧ k < n ∧ ∃ m : ℕ, k.totient + (n - k).totient = m * (m + 1)source on GitHub · reference
OEIS/234360openNumber theory
Number of integers $0 < k < n$ such that $(k + 1)^{\phi(n - k)} + k$ is prime
Lean statement
theorem conjecture_1 (n : ℕ) (hn : 1 < n) : 0 < a n
source on GitHub · reference
OEIS/234360openNumber theory
Number of integers $0 < k < n$ such that $(k + 1)^{\phi(n - k)} + k$ is prime
Lean statement
theorem conjecture_3 (n : ℕ) (hn : 1 < n) :
∃ k, 0 < k ∧ k < n ∧ Nat.Prime (k * (k + 1) ^ (n - k).totient + 1)source on GitHub · reference
OEIS/234360openNumber theory
Number of integers $0 < k < n$ such that $(k + 1)^{\phi(n - k)} + k$ is prime
Lean statement
theorem conjecture_4 (n : ℕ) (hn : 3 < n) :
∃ k, 0 < k ∧ k < n ∧
∃ p : ℕ, p.Prime ∧ (p + 1) ^ 2 = k ^ 2 * (k + 1) ^ (n - k).totientsource on GitHub · reference