Index of theproofnetwork/open-problems@860a535/FormalConjectures/OEIS/A228552.lean

qedmarket’s copy of theproofnetwork/open-problems@860a535, 1 Dec 2026original source ↗

67 lines · 1.9 kBraw
/-Copyright 2026 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License at     https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.-/module public import FormalConjecturesUtilpublic import FormalConjectures.OEIS.A69191 /-!# Square root of the absolute value of the determinant of the prime sum indicator matrix Square root of the absolute value of $\det(M_n)$, where $M_n$ is the $n \times n$ matrix with$(i,j)$-entry ($1 \le i, j \le n$) equal to $1$ if $i + j$ is prime, and $0$ otherwise. *References:*- [A228552](https://oeis.org/A228552)-/ @[expose] public section namespace OeisA228552 /-- Square root of the absolute value of the determinant of the $n \times n$ matrix with$(i,j)$-entry ($1 \le i, j \le n$) equal to $1$ if $i + j$ is prime, and $0$ otherwise. -/def a (n : ℕ) : ℕ :=  (OeisA69191.a n).natAbs.sqrt @[category test, AMS 11]theorem a_1 : a 1 = 1 := by decide @[category test, AMS 11]theorem a_2 : a 2 = 1 := by decide @[category test, AMS 11]theorem a_3 : a 3 = 1 := by decide @[category test, AMS 11]theorem a_4 : a 4 = 0 := by decide @[category test, AMS 11]theorem a_5 : a 5 = 1 := by decide +kernel @[category test, AMS 11]theorem a_7 : a 7 = 2 := by  rw [a, OeisA69191.a_7]  decide +kernel /--We conjecture that $a(n) > 0$ for all $n > 15$.-/@[category research open, AMS 11]theorem conjecture (n : ℕ) (hn : n > 15) : a n > 0 := by  sorry end OeisA228552

download (.tar)