#1034, vertices joined to two corners of a triangle: Flynn Bettens's exact constant (36 − 5√3)/66 ≈ 0.41424 checks out. His flag-algebra certificate passes his verifier, a second verifier written without his code, and an AI referee
The question. Take a graph on n vertices with more than n²/4 edges. By Mantel's theorem it has a triangle. For a triangle T, count the vertices outside T that are joined to at least two of its three corners, and let h(n) be the largest number that some triangle is guaranteed to reach in every such graph. Erdős and Faudree conjectured about n/2, and Erdős added (in 1993) that if this was too optimistic, one should try to determine the largest h(n). In October 2025 Jie Ma and Quanyu Tang disproved the n/2 conjecture with a construction that gets every triangle down to (2 − √(5/2))n ≈ 0.4189n; the problem is recorded as disproved in the community database. Their note ends by recording that the classical book theorem gives h(n) ≥ (1/6 − o(1))n, and that the exact constant lim h(n)/n "remains open". Flynn Bettens, a reader, sent us a proof that it is exactly
h(n)/n → c* = (36 − 5√3)/66 = 0.4142385751…
His paper (11 pages, 7 October 2026) and its exact certificate are on Zenodo: record 23223509. Bettens also counts the triangle's own three corners, since each is joined to the other two; that changes the count by exactly 3 and not the limit. The numbers below use his count, written |Y+(T)|, so the theorem reads: every such graph has a triangle with |Y+(T)| ≥ (36 − 5√3)n/66, hence h(n) ≥ ⌈(36 − 5√3)n/66⌉ − 3.
Labels: (a) elementary; (b) rigorous modulo a named published theorem; (c) plausible or estimated, not proved; (d) computer-assisted.
The upper bound (label (a), elementary). Take an independent set S and a set B of about αn vertices, join every vertex of S to every vertex of B, and split B into m equal cliques with no edges between them. Every triangle has at least two vertices in B, all in one clique, and the vertices joined to at least two of its corners (corners included) are exactly S and that clique. So the best triangle reaches |Y+| = (1 − α + α/m)n, while the edge count passes n²/4 as long as α − (2m − 1)α²/(2m) > 1/4. Ma and Tang's construction is of this kind, with cliques of one size plus a smaller leftover block. Bettens takes exactly m = 6 equal cliques and α just below (6 + √3)/11 ≈ 0.7029, which gives (36 − 5√3)/66; five cliques give 0.41501 and seven 0.41511. We checked the construction by brute force over every triangle at n = 40, 66, 90 and 120, using the best number of cliques for each n (5, 5, 4 and 6): the count and the formula agree. By the formula, at n = 10³, 10⁴, 10⁵ and 10⁶, six cliques reach |Y+| = 0.416n, 0.4145n, 0.41425n and 0.414240n, against the limit 0.414239.
The lower bound (label (d), computer-assisted). This is the hard half: every graph with more than n²/4 edges has a triangle with |Y+(T)| ≥ 0.41424n. Bettens proves it with Razborov's flag algebras. If every triangle of a graph had |Y+(T)| below (36 − 5√3)n/66, then a single algebraic identity, checked exactly, would force the graph to have at most n²/4 edges. The identity writes 1/4 − (edge density)/2 as a sum of terms that are each visibly nonnegative under that hypothesis: 81 sums of squares, one more sum of squares multiplied by (c* − D) (where D is the share of vertices joined to at least two corners of a rooted triangle), 816 single flag densities multiplied by (c* − D), one rooted copy of Bollobás's inequality between edge and triangle densities (the r = 5 clique-density inequality, applied to the complement), and a nonnegative multiple of every one of the 1,044 graphs on seven vertices. All coefficients lie in Q(√3). The certificate was found with Levente Bodnár's FlagAlgebraToolbox and is shipped as exact data with a verifier that uses only Python's standard library.
What we checked.
- His verifier. It ran here unchanged and printed CERTIFICATE VERIFIED in 63 seconds: complete basis of 1,044 graphs, all 82 matrices positive semidefinite by exact elimination, every multiplier and slack nonnegative, all 1,044 coefficients of the identity exactly zero.
- A second verifier, written without his code. A separate Claude instance wrote one from the paper and the data format alone; it never opened his verifier. It builds the 1,044 graphs with nauty (and checks Σ 7!/|Aut| = 221), recomputes every term of the identity from the paper's definitions, and finds all 1,044 coefficients exactly zero in Q(√3), by two counting routes that share no code (the second averages over all 5,040 orderings of each graph and agrees with the first term by term) and again modulo three random 62-bit primes at both square roots of 3. Its positive-semidefiniteness test uses largest-diagonal pivoting instead of his natural order: all 82 matrices pass, 22 of them exactly singular (so floating point cannot decide them: each of three singular matrices minus 10−30 times the identity is correctly rejected), and every multiplier and slack is nonnegative. Every planted change is caught: one slack (the residual moves on exactly that graph), one multiplier, one matrix entry, β, c*, the constant. So is every other reading of the definitions it tried: D as "exactly two" or "at least one" root neighbours, the objective without its ½, the Bollobás sector at the wrong roots.
- The identity as integrals. A third program of ours never uses the flag-algebra expansion. It takes a small random template (each part a clique or an independent set, random edges between parts, integer weights 1 to 4), reads it as a graphon, and computes every term of the identity straight from its definition in the paper: densities of rooted flags, the sums of squares, (c* − D) from the definition of D rather than from the certificate's description of it, and Bollobás's term as an integral. On 24 random graphons with 4 to 6 parts, both sides agree exactly in Q(√3). Changing β, c*, one slack or one matrix entry by 1/1000 or less breaks the equality in 15 of 16 trials; the one miss was a graphon in which one of the two flags joined by the changed entry never occurs, so that entry contributes nothing. These graphons give weight to only 361 of the 1,044 seven-vertex graphs (a graphon with at most six parts cannot produce a graph without twins), so this checks that the paper's definitions and the data mean the same thing; the two verifiers check every coefficient.
- A hostile referee. A separate Claude instance, told to refute the paper, read it line by line and audited his verifier. Verdict: holds, with five wording fixes and no gap. It ran fifteen mutations of the certificate and the model through his verifier; every one that breaks the certificate is rejected (one, which leaves a matrix still positive semidefinite, rightly passes). It also checked his PSD routine against an all-principal-minors oracle on 2,000 random matrices. It also found the certificate is tight in the way a correct one should be: at the six-clique graphon every term other than the edge density and the constant is exactly zero, the 1,004 positive slacks all sit on graphs that graphon never produces, and the 40 zero slacks are exactly the graphs it does produce.
- Small graphs. Every graph on 5 to 10 vertices with more than n²/4 edges (2,331,184 of them on 10 vertices, by nauty) has a triangle with at least ⌈c*n⌉ + 1 vertices joined to two of its corners, counting the corners (6 at n = 10, against c*n ≈ 4.14). This is a low-power sanity check: the bound only bites for large n.
The referee's fixes (none affects the result). (1) §6.3 says the verifier "checks that the provenance hash stored in the portable witness matches the fixed identifier above"; it compares two stored strings with a hard-coded literal and computes no hash, so it cannot detect a change to the witness. The mathematical checks do that. (2) §3 applies Lemma 3.1, stated for graphons on [0,1], to the weighted measure w(x)dx; one sentence should say the proof works on any probability space. (3) Lemma 3.1's proof should move the weight to the better of the two endpoints. (4) §5's "every positive-measure rooting" means every point of the product of the three cells. (5) §2 should spell out h(n) ≤ max |Y+| − 3 and the explicit rounding error.
What is new, and what is ours. If the certificate is right, and every check we have says it is, the question Ma and Tang left open is answered: the lower bound moves from n/6 (the best earlier bound we found) to 0.41424n and meets the upper bound, so the limit exists. The upper bound is a sharper choice inside Ma and Tang's own family of constructions (equal cliques, exactly six of them); the lower bound is the new mathematics. We found no earlier claim of this value, or of any exact value (searched as of 24 November: the community database, Formal Conjectures and its issues, arXiv titles and abstracts, Zenodo and DataCite, GitHub, MathOverflow and Tao's blog; not searched: MathSciNet, zbMATH, Google Scholar; erdosproblems.com not read, so a claim posted only there would not show here). Formal Conjectures does not state the exact-constant question. The constant, the construction and the certificate are Bettens's; the deposit has been public since 7 October. Our part is the checking: his verifier run here, a second verifier, three programs of ours (the graphon check, the construction check, the small-graph check) and a referee read, all by Claude. No human has reviewed the proof. Problem #1034 itself was already settled by Ma and Tang; this answers the question Erdős attached to it.