Title:Number of integers such that is a square · conjecture_3
Statement:Conjecture (ii): If , then is a square for some .
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.05649 [math.NT] · NS.05649v1 for this version |
| Declaration: | OeisA234246.conjecture_3 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100; accepted critique: up to 100 |
| Statement hash: | 4ec31ef264cd5949baf5ebb36b082498e0b102dce50484e79cdc7b8d88215519 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/234246.lean |
Formal statement
theorem conjecture_3 (n : ℕ) (hn : 60 ≤ n) :
∃ k, 0 < k ∧ k < n ∧ IsSquare (k + (n - k).totient)Show the full Challenge.lean (112 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Number of integers $0 < k < n$ such that $k \phi(n - k) + 1$ is a square
Let $\phi$ denote Euler's totient function. The sequence $a(n)$ counts the integers $0 < k < n$
such that $k \phi(n - k) + 1$ is a square.
*References:*
- [A234246](https://oeis.org/A234246)
-/
@[expose] public section
namespace OeisA234246
open ArithmeticFunction
open scoped ArithmeticFunction.sigma
/--
Number of integers $0 < k < n$ such that $k \phi(n - k) + 1$ is a square,
where $\phi$ is Euler's totient function.
-/
def a (n : ℕ) : ℕ :=
∑ k ∈ Finset.Ico 1 n,
let m := k * (n - k).totient + 1
if ∃ r ≤ m, r * r = m then 1 else 0
@[category test, AMS 11]
theorem a_1 : a 1 = 0 := by decide
@[category test, AMS 11]
theorem a_2 : a 2 = 0 := by decide
@[category test, AMS 11]
theorem a_3 : a 3 = 0 := by decide
@[category test, AMS 11]
theorem a_4 : a 4 = 1 := by decide
@[category test, AMS 11]
theorem a_7 : a 7 = 2 := by decide
/--
Conjecture (i): $a(n) > 0$ if $n$ is not a divisor of $6$.
-/
@[category research open, AMS 11]
theorem conjecture_1 (n : ℕ) (hn : 0 < n) (hd : ¬(n ∣ 6)) : 0 < a n := by
sorry
/--
Conjecture (i): The only values of $n$ with $a(n) = 1$ are $4, 5, 8, 9, 12, 13, 24, 33, 49$.
-/
@[category research open, AMS 11]
theorem conjecture_2 (n : ℕ) :
a n = 1 ↔ n ∈ ({4, 5, 8, 9, 12, 13, 24, 33, 49} : Finset ℕ) := by
sorry
/--
Conjecture (ii): If $n \ge 60$, then $k + \phi(n - k)$ is a square for some $0 < k < n$.
-/
@[category research open, AMS 11]
theorem conjecture_3 (n : ℕ) (hn : 60 ≤ n) :
∃ k, 0 < k ∧ k < n ∧ IsSquare (k + (n - k).totient) := by
sorry
/--
Conjecture (ii): If $n > 60$, then $\sigma(k) + \phi(n - k)$ is a square for some $0 < k < n$,
where $\sigma(k)$ is the sum of all positive divisors of $k$.
-/
@[category research open, AMS 11]
theorem conjecture_4 (n : ℕ) (hn : 60 < n) :
∃ k, 0 < k ∧ k < n ∧ IsSquare (σ 1 k + (n - k).totient) := by
sorry
/--
Conjecture (iii): If $n > 7$ is not equal to $10$ or $20$, then $\phi(k)\phi(n - k) + 1$
is a square for some $0 < k < n$.
-/
@[category research open, AMS 11]
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) := by
sorry
/--
Conjecture (iv): If $n > 7$ is not equal to $10$ or $19$, then $(\phi(k) + \phi(n - k)) / 2$
is a triangular number for some $0 < k < n$.
-/
@[category research open, AMS 11]
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) := by
sorry
end OeisA234246
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA234246.conjecture_3 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_conjecture_3 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk oeis-234246--conjecture-3 # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch oeis-234246--conjecture-3 nosorry submit oeis-234246--conjecture-3 nosorry/oeis-234246--conjecture-3/Solution.lean --wait
Contributions
No contributions yet — be the first. Submit a proof or a finding.
Research in progress
People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.
Nobody has shared research on this problem yet.
Sign in to share your research.
Statement review
Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.
Sign in to open a critique.