Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.
Updated
Problem 1005
claims/: The 3 claim pages of Problem 1005, one per claimant's result; the problem's standing derives from them.
Statement. Let be the Farey fractions of order . Let be the largest integer such that if then and are similarly ordered - in other words,
Estimate - in particular, is there a constant such that for all large ?
Formulation. The site's wording as of 2026-09-18 (page last edited 1 September 2026). The Farey fractions of order are the reduced fractions in with denominator at most , in increasing order; two fractions are similarly ordered when their numerators and denominators do not move in opposite directions, and is the largest index distance within which every pair is similarly ordered. The condition makes defined: is the first pair that is not similarly ordered (van Doorn, p. 1). The two 2026 preprints define instead as the minimum number of Farey fractions strictly between two "badly ordered" fractions (, ); the two definitions agree (an authored remark, checked here): for in the product is negative exactly when and , since forces and an equal numerator or denominator gives a zero product, so "badly ordered" is "not similarly ordered"; a badly ordered pair at indices has fractions between it, so if the minimum of that count is , every pair at distance at most is similarly ordered and some pair at distance is not, that is, . OEIS A386893 uses the intervening-count convention. Erdős's 1943 note asks the same thing with and "similarly ordered" when ; the question of the best is his (p. 84).
Status. Solved, in the site's label, which marks a resolution other than a proof or disproof, here an estimate: the answer to the question is yes, with . The upper half, with by , is van Doorn's Theorem 1 (arXiv:2509.00121v1, 28 August 2025; a preprint with no journal record found), an accepted partial claim on its page; the lower half, , is Theorem 1 of the Cipollini preprint (arXiv:2607.23302v1, 25 July 2026), the accepted full claim, on its page, whose author declares that the manuscript was written by GPT-5.5 Pro, that its findings and strategy are due to the author together with GPT-5.5 Thinking, and that Aristotle, an automated proof system, and van Doorn produced a Lean 4 formalization. The site accepted the preprint as the resolution (its page was last edited 1 September 2026 and its commentary states ). This is a source-supported solution accepted by the site, distinct from a claim of journal refereeing. Three external Lean developments proving the theorem for the papers' convention are recorded at pinned commits; they were not built or independently audited here, and no local kernel credit is claimed. Before Cipollini's preprint the truth was known to lie between and ; Erdős's 1943 bound was , with read from his printed thresholds for . The frontmatter standing is derived from the claim pages; the exact-formula claim of Wang, Xie and Zhao, filed on the site's tab on 28 July 2026, stays a pending full claim on its page.
Source. erdosproblems.com/1005, accessed 2026-09-18: the problem page (SOLVED, with the site's note that the problem was resolved other than by a proof or disproof; last edited 1 September 2026; source key [Er43]; commentary citing [Ma42], [Er43], [vD25b] and [Ci26]; OEIS A386893 linked; the formalized-statement indicator reading no, which read yes on 2026-10-07; the page thanks van Doorn), its one-comment discussion thread (4 July 2026) and its proof-claims tab with two full-proof claims (14 and 28 July 2026). Cite as: T. F. Bloom, Erdős Problem #1005, https://www.erdosproblems.com/1005, accessed 2026-09-18.
References.
- [Er43] Erdős, P., A note on Farey series. Quart. J. Math. Oxford Ser. 14 (1943), 82--85, doi:10.1093/qmath/os-14.1.82 (Crossref record; received 30 March 1943). The Theorem, p. 82; the thresholds and , pp. 83--84 (the Rényi archive scan). Library home: erdos_1943_note_farey_series.
- [Ma42] Mayer, A. E., A mean value theorem concerning Farey series. Quart. J. Math. Oxford Ser. 13 (1942), 48--57, doi:10.1093/qmath/os-13.1.48 (Crossref record). Not held (publisher paywall); not requested here. The site credits it with ; van Doorn (p. 1) credits it with for and attributes to Mayer's second 1942 paper, "On neighbours of higher degree in Farey series", Quart. J. Math. 13 (1942), 185--192, which is also the paper Erdős's footnote cites; neither is held, and the discrepancy is recorded, not resolved.
- [vD25b] W. van Doorn, Improved bounds for the Mayer-Erdős phenomenon on similarly ordered Farey fractions. arXiv:2509.00121v1 (28 August 2025), 9 pp. Theorem 1 and the Conjecture, p. 2; Theorem 2, p. 5. Library home: doorn_2025_improved_bounds_mayer_erdos_phenomenon_similarly.
- [Ci26] Cipollini, R., Optimality of Wouter van Doorn's Upper Bound for the Mayer--Erdős Farey Problem. arXiv:2607.23302v1 (25 July 2026), 16 pp. Theorem 1, p. 2; the contribution statement, p. 16. The key is identified with this paper by the page's own sentence and by the proof-claims tab's link to its arXiv identifier. Library home: cipollini_2026_optimality_van_doorn_upper_bound_mayer_erdos_farey.
- [WXZ26] Wang, Y., Xie, M. and Zhao, Z., An exact formula for Erdős' problem 1005. arXiv:2608.15681v1 (16 August 2026), 9 pp. Theorems 1.2 and 1.3, p. 1. A lead, not cited by the site's page; the first author's proof claim is on the site's tab. Library home: wang_2026_exact_formula_erdos_problem_1005.
- [Za06] Zaharescu, A., The Mayer--Erdős phenomenon. Indag. Math. (N.S.) 17 (2006), 147--156; [MeZa14] Meng, X. and Zaharescu, A., A multivariable Mayer--Erdős phenomenon. J. Korean Math. Soc. 51 (2014), 1029--1044. Not held; cited as van Doorn cites them (generalizations to linear forms, with the constant for [Za06]).
- [OEIS] van Doorn, W., Sequence A386893, "Minimal number of Farey fractions in between two fractions that are not similarly ordered", The On-Line Encyclopedia of Integer Sequences (created 9 September 2025; entry last modified 12 September 2025, server time; accessed through its JSON record), with the formula lines and and van Doorn's conjecture.
Formalization. Statement in
formal-conjectures,
added on 19 September 2026 (no file existed on 2026-09-18), at that revision,
its only one: the file defines Erdos1005.f n as the minimum, over pairs of
Farey fractions of order that are not similarly ordered, of the number of
Farey fractions strictly between them (the intervening-count convention; its
docstring states the site's wording), erdos_1005 asks whether
converges to a positive constant with the answer True, and
erdos_1005.variants.constant states the limit , crediting Cipollini and
GPT-5.5; both are tagged research solved and proved there by sorry, and the
variant's formal_proof attribute points to the Erdos1005.lean file of Boris
Alexeev's lean-proofs repository, a copy of the Woett development (described
under "Formalization and the Lean developments" below and a formalization link
on Cipollini's page). The community database (teorth/erdosproblems) records the
problem solved, a state set on 1 September 2026 (open before; the status date
field keeps 9 September 2025, the day the entry was created), and formalized
since 19 September 2026, and the site's formalized-statement indicator read yes.
None of the three Lean developments was built here, and nothing here is
kernel-checked.
Current assessment
The question (site formulation of 2026-09-18). The statement above; SOLVED; last edited 1 September 2026. The site's commentary traces to Mayer [Ma42], crediting him with , and Erdős [Er43] with ; credits van Doorn [vD25b] with the bounds $(\frac1{12}-o(1))n\le f(n)\le\frac14n+O(1)$ and the conjecture that the upper bound is sharp; and says that Cipollini and GPT 5.5, in the commentary's wording, proved the matching lower bound asymptotically, giving . The thread's one comment (4 July 2026) is the author's announcement of a candidate proof that van Doorn's upper bound is asymptotically sharp, written with the help of GPT-5.5 Thinking, resting on a lemma about increments of a totient sum, which makes the weighted counts grow by at least per unit length; the post links an editable online document (not a citable source) and a Lean 4 formalization produced by Aristotle, an automated proof system, and says that the paper itself was written by the AI system, which the tab entry names as GPT 5.5 Pro, used for the write-up. The proof-claims tab lists two full-proof claims: the author's (submitted 14 July 2026, the same text, with the arXiv link added by a moderator and an external link to the formalization), on Cipollini's page, and one submitted 28 July 2026 by the first author of [WXZ26], naming GPT 5.6 as the system used, claiming, for all sufficiently large , , , , , noting that the argument gives no explicit threshold and that the proof is not peer reviewed, on [[problems/number_theory/E1005/claims/2026_07_28_wang_xie_zhao|the Wang--Xie--Zhao page]]. The tab carries the site's standing notice that a listing there does not guarantee that a proof is correct. The community database records the problem solved from 1 September 2026 (open before; its status date field keeps 9 September 2025, the entry's creation) and formalized since 19 September 2026, with OEIS A386893.
The origin (Erdős 1943). The Theorem (p. 82): "There exists an absolute constant such that, if , and if are the Farey fractions of order , then and are similarly ordered." The proof splits on (Case I, with the conclusion "provided that ", p. 83) and (Case II, "provided that ", p. 84). The proof does not treat separately; for the printed thresholds give the theorem with , which is the constant van Doorn reads from it; in the page's notation (every is covered). Erdős adds (p. 84): "I have not been able to find the best possible value for the constant in the above result." The note was a letter to Mayer, put into form by Davenport (headnote, p. 82); its footnote cites Mayer's theorems in Quart. J. Math. 13 (1942), 186--7. Mayer's own results ( for ; ) are second-hand here, through the site and van Doorn's introduction.
The bounds before 2026 (van Doorn). Theorem 1 (p. 2): for all , with for , from explicit badly ordered pairs around ( against for , at index distance ). Theorem 2 (p. 5): fractions at index distance at most are similarly ordered, so , by optimizing Erdős's argument with a lemma on the arithmetic progressions of Farey neighbors of a fraction of small denominator and Dress's discrepancy bound. The paper's Conjecture (p. 2): for all and for all , checked for , the exceptions below being . Van Doorn's paper is a preprint (no journal record found); its bounds are also the formula lines of OEIS A386893. Read depth: claims checked for both theorems and the Conjecture; the proofs read for structure only.
The status-defining claim (Cipollini). [[../library/number_theory/cipollini_2026_optimality_van_doorn_upper_bound_mayer_erdos_farey/theorem_1|Theorem 1]] (p. 2): with the minimum number of Farey fractions strictly between two badly ordered fractions of order , ; "Consequently, Erdős Problem 1005 has asymptotic constant ." The manuscript's own route: every badly ordered pair contains the elementary interval with (Section 2), and that interval contains at least Farey fractions of order uniformly in (Section 4), the constant coming from a totient-increment inequality (Lemma 5: for , for ); the upper bound is van Doorn's construction reproved (Section 5). Read depth: claims checked for Theorem 1, the reduction and the lemma statements; the lower-bound argument (pp. 3--14) was read for structure and not checked step by step, and no step is independently reviewed here. Acceptance evidence: the site's label and commentary; the author's claim on the tab; Semantic Scholar lists one citing record, [WXZ26]. Provenance, recorded not judged: the contribution statement (p. 16) says that the paper was written by GPT-5.5 Pro, that the findings and proof strategy are due to the author together with GPT-5.5 Thinking, and that Aristotle and van Doorn are thanked for the Lean 4 formalization.
The exact-formula lead (unread beyond its statements). Theorem 1.2 of [WXZ26] (p. 1): for all sufficiently large , where for , that is, van Doorn's upper bound is attained; Theorem 1.3, "proved with computer assistance": for every , except on van Doorn's fifteen exceptional , where or, for , (program checks over and an analytic estimate beyond). The paper's AI-use declaration (p. 9) says that the authors used ChatGPT-5.6 to assist in generating candidate proof strategies and verified and refined every suggestion; it follows the Cipollini framework; its code is in a public repository (listed, not run). Nothing of its proofs was read; it is a claim, not a status source, and its tab version predates the arXiv posting.
Formalization and the Lean developments (not built here). The manuscript
links ErdosProblem1005.lean in the repository Woett/Lean-files, last changed
on 4 August 2026 (the revision the claim page's link pins; accessed): 175,924
bytes, 2,557 lines, import Mathlib, defining IsFarey n q, betweenCount n x y, BadlyOrdered n x y and fVal n (the infimum of the between-count over
badly ordered pairs) and proving theorem erdos_1005 : Tendsto (fun n : ℕ => (fVal n : ℝ) / n) atTop (nhds (1 / 4)) (line 2551) from an upper bound fVal n ≤ n / 4 + C and a lower bound " fVal n eventually"; no
sorry and no axiom declaration in the file; its #print axioms erdos_1005
has no recorded output. The tab links the repository mrricky22/erdos-1005-lean
(its head of 4 July 2026, the revision the claim page's link pins), a Lake
project whose Main.lean proves the same statement from the same two bounds;
nine of its fourteen Lean files (1,787 lines) contain no sorry and no axiom
declaration, and five were not examined. Both attribute the formalization to
Aristotle, an automated proof system. A third copy, the file Erdos1005.lean in
Boris Alexeev's repository lean-proofs (committed 15 September 2026; the third
formalization link on Cipollini's page), declares itself a formalization by
Cipollini and van Doorn with Aristotle (Harmonic), combined from the Woett file;
its main theorem erdos_1005 is the same limit for the formal-conjectures
definition of , derived from the source's by a rewriting lemma, and the
statement file cites it as the problem's formal_proof (header and main
theorem; accessed). All three formalize the intervening-count convention; the
bridge to the page's is the authored remark of the Formulation paragraph.
Only the statements at the pinned commits are recorded: nothing was built or
audited here and no kernel credit is claimed.
Search scope. None of the routes below found a refereed version of either 2026 preprint or of van Doorn's, an independent review, a dispute of the lower-bound argument, or a second proof.
- The site: problem page, discussion thread and proof-claims tab; the full directory listing of formal-conjectures of 2026-09-18 (no file then) and the statement file added 19 September 2026 (accessed 2026-10-07); the community database (fetched 2026-09-18 and 2026-10-06).
- The primary sources: [Er43] pp. 82--85; [vD25b] pp. 1--2 and 5 in full, the rest for structure; [Ci26] pp. 1--2 and 16 in full, the rest for structure; [WXZ26] p. 1 in full, the rest for structure.
- arXiv: the abstract pages of 2509.00121, 2607.23302 and 2608.15681 (one
version each, no journal references) and the API records; the search
abs:Farey AND (abs:"similarly ordered" OR abs:"badly ordered" OR abs:"Mayer")sorted by date (3 records: [Ci26] and two unrelated Farey papers). - Crossref: the records of [Er43] and [Ma42]; bibliographic queries for the three preprints (no journal records).
- Semantic Scholar: the citation lists of [vD25b] (2 records: [Ci26], [WXZ26]), [Ci26] (1 record: [WXZ26]) and [WXZ26] (none).
- GitHub API: the two Lean repositories at the revisions named above and
the [WXZ26] code repository (its head of 13 August 2026; its
1005folder listed: a README, the paper's PDF and TeX source, averificationfolder; nothing run). - OEIS A386893 (the JSON record).
Not searched: MathSciNet, zbMATH, Google Scholar, X. Not opened: the editable online document linked in the thread and the tab. Not held: [Ma42], Mayer's second 1942 paper, [Za06], [MeZa14].
Remaining gaps. (1) The label rests on a preprint with declared AI
assistance and no refereed publication or independent review, and both halves of
the asymptotic ( above, below) are preprint
results; reopening condition for the qualification: a refereed version or an
independent whole-argument review of [Ci26]'s Sections 2--4. (2) Nothing of the
Lean developments was built, their #print axioms output is not recorded in the
files, and their definitions were bridged to the page's only by the
authored remark above. (3) The exact-formula claim of [WXZ26] is covered only
through its statements, and its computation was not rerun. (4) Mayer's two 1942
papers are not held; which of them proves is recorded as a
discrepancy between the site and van Doorn. (5) The site's key [Ci26] is
identified with the paper by the page's sentence and the tab's link to its arXiv
identifier. (6) Proof coverage: claims checked throughout; no proof was checked
here.
Linked library material
These entries are derived from explicit links on library pages. They are navigation only and do not by themselves record mathematical progress.
- cipollini_2026_optimality_van_doorn_upper_bound_mayer_erdos_farey
- cipollini_2026_optimality_van_doorn_upper_bound_mayer_erdos_farey / theorem_1
- doorn_2025_improved_bounds_mayer_erdos_phenomenon_similarly
- doorn_2025_improved_bounds_mayer_erdos_phenomenon_similarly / lemma_2
- doorn_2025_improved_bounds_mayer_erdos_phenomenon_similarly / theorem_1
- doorn_2025_improved_bounds_mayer_erdos_phenomenon_similarly / theorem_2
- doorn_2025_improved_bounds_mayer_erdos_phenomenon_similarly / theorem_3
- erdos_1943_note_farey_series
- erdos_1943_note_farey_series / theorem
- wang_2026_exact_formula_erdos_problem_1005
- wang_2026_exact_formula_erdos_problem_1005 / theorem_1_2
- wang_2026_exact_formula_erdos_problem_1005 / theorem_1_3