/-
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, software
distributed 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 and
limitations under the License.
-/modulepublicimportFormalConjecturesUtil
Determinant of Hankel matrix of the first $2n-1$ prime numbers
The determinant of the $n \times n$ Hankel matrix whose entries are the first $2n-1$ prime numbers.
The matrix $M$ has entries $M_{i, j} = p_{i+j}$ for $i, j \in {0, \dots, n-1}$,
where $p_k = \mathrm{Nat.nth;Nat.Prime} (k)$ is the $k$-th prime starting at $p_0=2$.
$a(0)=1$ by convention.
"I conjecture that $a(4)$ is the only zero. - Jon Perry, Mar 22 2004"
Stated as a biconditional: the claim that $a(4)$ is the only zero asserts both that $a(4) = 0$
and that no other index vanishes. A bare implication a n = 0 → n = 4 would be satisfied
vacuously by a sequence with no zero at all. The existence direction is certified by a_4; the
uniqueness direction is the open part.