# Erdős problems 64 and 647 Reading level: experts. Source: https://gocheckyourself.org/ (GCY). ## Start here Sonny In short. Two open questions that Paul Erdős posed, each checked by an exhaustive computer search. For problem 64, no graph (dots, called vertices, joined by lines) with minimum degree (the fewest lines at any vertex) at least 3 on up to 22 vertices is a counterexample (a case that would show the claim is false); for problem 647, there is no example up to 10^14, and both problems are still open. What this book shows - My result, problem 64. No graph with minimum degree at least 3 on up to 22 vertices lacks a cycle of length 4 or 8. Computed: three reductions proved in the chapter narrow the search to one class of graphs, and an exhaustive search of that class at every order (number of vertices) from 4 to 22 found none, so the result covers all graphs with minimum degree at least 3, not just cubic (every vertex has exactly 3 neighbours), bipartite (the vertices split into two groups and every line joins the two groups) or small-diameter (any two vertices are a few steps apart) ones. A separate program of ours repeated the search up to 15 vertices. Orders 16 to 22 were searched with a pruned build of nauty's geng (a standard program that lists graphs of a chosen kind) that is not published; its logs are. Two recent preprints (papers shared publicly before peer review) report larger ranges (23 and 40 vertices). - My replication, problem 647. No n with 24 < n ≤ 10^14 satisfies the condition. Computed: up to 10^8 by two separately written programs, up to 10^9 also by a separate scan, and from 10^9 to 10^14 by one sieve program (a program that strikes out numbers in bulk) that is not published; its logs are, and the check guide checks their bookkeeping. This replicates a smaller range than the forum reports. - Why it matters. For problem 64 the open part is graphs of small minimum degree, such as three, and my search covers all of them up to 22 vertices. For problem 647, any example would be very large. Both problems are open. - In Lean: nothing (Lean is a proof-checking program that tests every step of a proof against fixed rules). The checks are the search logs, the separate programs and a written recipe for each check. - Every result in this book is listed in the theorem library. ### The question This book is about two open questions that Paul Erdős posed, collected with their history on Thomas Bloom's site erdosproblems.com. The wording below is our plain-words paraphrase; the exact wording is on each problem page. Problem 64 (erdosproblems.com/64 (https://www.erdosproblems.com/64)). Take any finite graph in which every vertex has at least three neighbours. Must it contain a cycle (a closed loop of distinct vertices) whose length is a power of two: 4, 8, 16, 32 and so on? Erdős and András Gyárfás conjectured the answer; the problem page says they "believed the answer must be negative", and that for every r there must be a graph of minimum degree at least r with no such cycle. The page lists a prize of $1000 and does not say who offered it. Problem 647 (erdosproblems.com/647 (https://www.erdosproblems.com/647)). Write τ(m) for the number of divisors of m. Is there an integer n above 24 such that m + τ(m) is at most n + 2 for every m below n? Erdős and John Selfridge asked this, and Erdős offered 25 pounds for an example. The numbers 1, 2, 3, 4, 5, 6, 8, 10, 12 and 24 satisfy the condition. Where to go next. Why does a search up to 22 vertices leave problem 64 open? See the chapter on problem 64. ### Why it matters The problem pages give the questions and the prizes; we have not found a statement of Erdős's reasons and we do not guess them. - Problem 64 asks how much room a sparse graph has to avoid every cycle length that is a power of two. Hong Liu and Richard Montgomery showed the answer is yes once the minimum degree is larger than some absolute constant, so the open part is graphs with small minimum degree, such as three. - Problem 647 asks whether the divisor function can stay small enough, just below an integer, for all smaller numbers at once. Forum posts report that searches have ruled out every n up to 10^22, with a certificate (a file that lets a reader check the claim) only up to about 6 × 10^17, so any example would be very large. Where to go next. What did the earlier searches for problem 64 cover, and what did they leave out? See the chapter on problem 64. ### What answering it would help with - A graph with no power-of-two cycle (problem 64) would show that the large-minimum-degree theorem needs its degree condition; a proof for every graph would determine which cycle lengths minimum degree forces. - An example, or a proof that none exists (problem 647), would determine whether the divisor function can stay within the stated limits on consecutive integers. Where to go next. What would a counterexample to problem 64 have to look like? See the chapter on problem 64. How large are the numbers the forum has already ruled out for problem 647? See the chapter on problem 647. ### What our research shows I ran a computer search on each problem. Each result has its checked scope and its open items. Problem 64: no counterexample up to 22 vertices (Sonny, 2026). What this is: no graph with minimum degree at least 3 on up to 22 vertices lacks a cycle of length 4 or 8. Status COMPUTED. Two recent preprints report larger ranges (arXiv:2609.04686 (https://arxiv.org/abs/2609.04686), 23 vertices; arXiv:2609.28594 (https://arxiv.org/abs/2609.28594), 40 vertices). Still open: the conjecture beyond the finite search stated here. Checked by: exhaustive generation with nauty's geng; a separate exhaustive search of our own up to 15 vertices; the generator logs re-read for completeness. Problem 647: no example up to 10^14 (Sonny, 2026). What this is: no n with 24 < n ≤ 10^14 satisfies the condition, as a replication of searches that the forum already reports to much larger bounds. Status COMPUTED. Scope and open item: this replicates part of the forum's reported range. Still open here: n above 10^14. Checked by: the residue lemma (a rule that rules out whole families of numbers by their remainder on division by a fixed number) recomputed here; a direct computation of every n up to 10^8, done twice by separately written programs; an arithmetic scan up to 10^9; the logs of the C sieve for the range above that re-read for completeness. Where to go next. Why is the problem 647 result only a replication? See the chapter on problem 647. #### What's in this book Counts are computed from the book's statement file (its list of results: 2 results, each with one status). | Status | Count | | --- | --- | | Proved and checked in Lean | 0 | | Written proofs | 0 | | Computed or certified (exact arithmetic, exhaustive search, or re-read logs) | 2 | | Conditional | 0 | | Open | 0 | | Item | Count | | --- | --- | | Chapters | 2 (problems 64 and 647) | | Statement files | 2 | | Written check recipes | 3, plus the fingerprint list | | Certificate and data files | 19 in 2 folders (problem 64: 3; problem 647: 16) | | Lean source files | 0 | #### Yesterday, today, tomorrow Yesterday. Paul Erdős with András Gyárfás (problem 64) and with John Selfridge (problem 647) posed these questions, and Thomas Bloom's erdosproblems.com gathers them with the earlier work. For problem 64, the exhaustive computer searches listed there, by Markström, Nowbandegani and Esfandiari, Tranquilli and sallerk, are for cubic, bipartite or small-diameter graphs; Balaji, Garcia, and Ducoffe and Dumitru report searches of every graph with minimum degree at least 3, to 31, 23 and 40 vertices. For problem 647, Dutta, Alexeev, Kitamura, Hughes and others on the forum had reduced the problem and searched much larger ranges. Today. For problem 64, I found that every connected graph with minimum degree at least 3 on 4 to 22 vertices has a cycle of length 4 or 8, using nauty's geng restricted to that class and a separate exhaustive search of our own up to 15 vertices; the search covers all graphs with minimum degree at least 3, not just cubic, bipartite or small-diameter ones, and stops at 22 vertices; orders 16 to 22 rest on the pruned geng build, which is not published. Preprints report larger ranges (arXiv:2609.04686 (https://arxiv.org/abs/2609.04686), 23 vertices; arXiv:2609.28594 (https://arxiv.org/abs/2609.28594), 40 vertices). For problem 647, no n with 24 < n up to 10^14 satisfies the condition; this is a replication of a smaller range than the forum reports. Tomorrow. For problem 64, order 23 and beyond, in step with what the two preprints report (all graphs to 40 vertices, bipartite to 66, cubic to 48). For problem 647, the separate code and logs give a cross-check on the forum's searches. None of these settles its problem. Where to go next. Which claims need a reader and not a program? See the verification guide and the statements. ### Check it yourself What ships: the generator logs for problem 64 (orders 4 to 22), the residue-class list and the sieve logs for problem 647, a SHA-256 fingerprint (a 64-character code computed from a file; change one bit and the code changes) for each file, and a written recipe for each check. With these a reader can recheck that every part of each search finished and that the counts and ranges add up. What is not shipped, and is available on request: the geng build with our pruning, which produced the problem 64 logs for orders 16 to 22, and the C source of the sieve and of the brute force for problem 647. The recipes check the bookkeeping of the logs; they do not rerun the searches. A recipe gives the exact file format, the exact condition to test, the expected answer and a standard tool or a few lines of code that any reader can write. The recipes are in the verification guide, which starts with the fingerprint check. To compare file fingerprints, any SHA-256 tool will do: ``` sha256sum -c SHA256SUMS.txt # Linux shasum -a 256 -c SHA256SUMS.txt # macOS CertUtil -hashfile SHA256 ``` The upper command is run inside the certificates folder on Linux (macOS: the shasum line); the lower one does the same for one file on Windows. No Lean proof is shipped in this book. How I direct this work, and my own tools, are not part of this book. The files listed above ship; the files named there as not shipped are available on request. About this research: https://gocheckyourself.org/about/#how ### Where to go next What does a pass of each check show, and what does it leave open? See the verification guide. The chapters: - Problem 64: cycles of power-of-two length - Problem 647: the divisor function and the next integer We stand on the shoulders of giants. The credits page lists the work this builds on. Go check yourself. Have a question about this? Ask it ## Erdős #64: cycles of power-of-two length ## Erdős #64: cycles of power-of-two length ### The question Erdős and Gyárfás asked whether every finite graph (dots, called vertices, joined by lines) with minimum degree (the fewest lines at any vertex) at least 3 contains a cycle (a closed loop of distinct vertices) whose length is a power of two (4, 8, 16, 32, ...). The problem page (erdosproblems.com/64 (https://www.erdosproblems.com/64)) says they "believed the answer must be negative", and that for every r there must be a graph of minimum degree at least r with no such cycle. The page lists a prize of $1000 and does not say who offered it. Liu and Montgomery proved that the answer is yes when the minimum degree is larger than some absolute constant. ### Why it matters Hong Liu and Richard Montgomery showed the answer is yes once the minimum degree is large enough, so the open part is sparse graphs, such as those with minimum degree 3; a counterexample (an example that would show the claim is false) would have to be found among them. ### What answering it would help with A counterexample would show that the large-minimum-degree theorem needs its degree condition; the stated coverage of an exhaustive search guides the planning of a larger search or a proof. ### What our research shows We stand on the shoulders of giants. Every earlier result named here is theirs; the credits page lists them with references. #### What was already checked by computer As listed on the problem page and its forum: - Markström: a cubic counterexample (every vertex of degree exactly 3) needs at least 30 vertices. - Nowbandegani and Esfandiari: a bipartite counterexample (one whose vertices split into two groups, with every line joining the two groups) needs at least 32 vertices. - Nowbandegani, Esfandiari, Haghighi and Bibak: a cubic claw-free counterexample (no vertex has three neighbours with no lines among them) needs at least 114 vertices. - sallerk (forum): no cubic bipartite counterexample on at most 62 vertices; general cubic graphs searched to 34 vertices. - Results for whole families of graphs, proved by hand (Alfaiz's list on the forum), and Temeller's searches for graphs of diameter at most 3 (any two vertices are at most 3 steps apart). - Avery Carr, arXiv:2508.19302 (https://arxiv.org/abs/2508.19302): every graph of diameter 2 with minimum degree at least 3 has a cycle of length 4 or 8. - Avery Carr, arXiv:2605.22844 (https://arxiv.org/abs/2605.22844): in a smallest counterexample, at least 4/7 of the vertices have degree 3. Ducoffe and Dumitru (arXiv:2609.28594 (https://arxiv.org/abs/2609.28594)) raise this to more than 2/3. - Michael C. Burkhart, arXiv:2611.05060 (https://arxiv.org/abs/2611.05060): Cayley graphs of odd order satisfy the conjecture (so do Cayley graphs of finite nilpotent groups). - Julius Tranquilli, arXiv:2608.02675 (https://arxiv.org/abs/2608.02675): a cubic bipartite counterexample needs at least 60 vertices (every cubic bipartite graph on at most 58 vertices has a cycle of length 4, 8 or 16). As far as the sources we cite show, the earlier exhaustive searches are restricted to cubic, bipartite or small-diameter graphs. The search described here covers all graphs with minimum degree at least 3 and stops at 22 vertices. Two recent preprints report searches over all graphs up to 23 and up to 40 vertices (see below). #### What was checked here The question answered here. Is there a graph with minimum degree at least 3 and at most 22 vertices that has no cycle whose length is a power of two? Result. Every connected graph on at most 22 vertices with minimum degree at least 3 contains a cycle of length 4 or 8. A counterexample to the conjecture has no cycle of length 4 or 8, so there is none on at most 22 vertices. This covers cubic and non-cubic graphs alike. Order 23 (graphs with 23 vertices) is reported done in arXiv:2609.04686 (https://arxiv.org/abs/2609.04686) (a preprint; its abstract reports a SAT-based search with DRAT proofs; a SAT solver is a program that settles yes-or-no logic puzzles, and DRAT proofs are logs that let others check its answers). The 23-vertex report is credited to that preprint. ##### Three reductions (proved here) The three reductions are called, in order, the connected reduction, the edge-minimal reduction and the degree cap. Connected reduction. A component of a counterexample is a counterexample with no more vertices. So it is enough to look at connected graphs. Edge-minimal reduction. Let uv be an edge whose two ends both have degree at least 4. Deleting uv keeps the minimum degree at least 3, and deleting an edge creates no cycle. Repeat until no such edge is left. With the connected reduction: if a counterexample on at most N vertices exists, then a connected one exists on at most N vertices in which the vertices of degree at least 4 are pairwise non-adjacent. Degree cap. Let G have minimum degree 3 and no 4-cycle, and let v have degree d. Each neighbour u of v has at most one other neighbour inside N(v), because two would close a 4-cycle through v. So u has at least one neighbour outside the closed neighbourhood of v. No two neighbours of v share such an outside vertex, because that would close a 4-cycle. Hence n is at least 2d + 1, so d is at most ⌊(n−1)/2⌋. ##### The search The generator is geng from nauty 2.8.9 (McKay and Piperno; nauty is a standard program for working with graphs, and geng lists graphs of a chosen kind). It was called as shown below, with a pruning step that restricts it to the class described next. The pruning program is not part of this book. ``` geng -c -f -d3 -D n res/mod ``` In words: connected graphs, no 4-cycle, minimum degree at least 3, maximum degree at most the cap, on n vertices, with the search split into mod independent parts and the part number res taken. The output of a complete run for order n is every connected graph on n vertices, up to isomorphism (graphs that are the same with the vertices renamed count once), with minimum degree at least 3, no 4-cycle, no 8-cycle and its vertices of degree at least 4 pairwise non-adjacent. By the connected and edge-minimal reductions, an empty output at every order up to N shows there is no counterexample on N vertices or fewer. | orders | parts | degree cap | outcome | | --- | --- | --- | --- | | 4 to 18 | one run per order | none (the trivial cap n − 1) | every run reports 0 graphs generated | | 19 | 8 | 9 | all 8 parts: 0 graphs | | 20 | 32 | 9 | all 32 parts: 0 graphs | | 21 | 128 | 10 | all 128 parts: 0 graphs | | 22 | 512 | 10 | all 512 parts: 0 graphs | The caps are the bound the degree cap gives (⌊(n−1)/2⌋). The cost was about 1,100 core-seconds (seconds of one processor core) at order 19, 7,000 at order 20, 46,000 at order 21 and 322,000 (89 core-hours) at order 22. Each order costs about 6 to 7 times the one before. ##### Cross-checks - At order 24 with maximum degree 3, the search finds exactly 4 graphs. That matches the four 24-vertex cubic graphs with no 4- or 8-cycle attributed to Markström (as reported by sallerk; we did not check this against his paper). Each of the four has a 16-cycle. They are listed in the file of 24-vertex graphs in the certificates folder, and a short program of our own confirms that each is 3-regular, has no 4- or 8-cycle and has a 16-cycle. - A separate exhaustive search of our own, written without nauty, finds no graph for orders 4 to 15. The check recipe in the verification guide says what class it searches and what it reports. #### What this does not show - Order 23 and above are not covered by our search. Order 23 is reported in arXiv:2609.04686 (https://arxiv.org/abs/2609.04686) (preprint). - The shipped logs are the last lines geng printed for each part. They show that every part finished and found nothing. They cannot show that the geng binary that ran was built to prune exactly the class described above. That rests on the build, which we do not ship as a binary or as source. - Our own separate search reaches order 15, not 22. - This does not settle the problem and does not meet any prize condition. #### Yesterday, today, tomorrow Yesterday. Erdős and Gyárfás asked whether every finite graph with minimum degree at least 3 has a cycle whose length is a power of two, and, according to the problem page, "believed the answer must be negative"; Liu and Montgomery proved yes for large enough minimum degree. As far as the sources we cite show, the earlier exhaustive searches (Markström; Nowbandegani and Esfandiari; Nowbandegani, Esfandiari, Haghighi and Bibak; Tranquilli; sallerk) were for cubic, bipartite or small-diameter graphs (the claw-free bound is for cubic claw-free graphs; the small-diameter searches are Temeller's), and the lower bounds they give reach 30, 32, 60 and 114 vertices for those families (sallerk's searches reach 34 vertices for cubic graphs and 62 for cubic bipartite graphs). Two recent preprints report larger ranges: arXiv:2609.04686 (https://arxiv.org/abs/2609.04686) reports that every such graph on at most 23 vertices has a cycle of length 4 or 8, and arXiv:2609.28594 (https://arxiv.org/abs/2609.28594) reports the same check for all graphs on at most 40 vertices, all bipartite graphs on at most 66 and all cubic graphs on at most 48. Our search covers 4 to 22 vertices. Today. I generated, with nauty's geng restricted to this class, every connected graph on 4 to 22 vertices with minimum degree at least 3 and no 4-cycle, no 8-cycle and its vertices of degree 4 or more pairwise non-adjacent, and found none; with the three reductions proved in this chapter, this shows every such graph on at most 22 vertices has a cycle of length 4 or 8. The search covers every connected graph with minimum degree at least 3, cubic or not, stops at 22 vertices, and cost about 89 core-hours at order 22. At order 24 with maximum degree 3 it finds exactly the four graphs attributed to Markström, as reported by sallerk. A separate exhaustive search of our own reaches order 15, and the generator logs were re-read for completeness. Tomorrow. Our search continues on an ordinary home computer, and we expect to report more substantial results in future. Each order costs roughly 6 to 7 times the one before. The two preprints above report much larger ranges (all graphs to 40 vertices, bipartite to 66, cubic to 48). The problem stays open. ### Check it yourself The verification guide has two recipes for this problem: a bookkeeping check of the generator logs for orders 4 to 22, and a small-order search with the four 24-vertex graphs. ### Where to go next - How would a counterexample to the divisor-function problem be found, and why can a search reach 10^14? See the chapter on problem 647. - What does a pass of the log check show, and what does it not? See the verification guide. We hope it helps others find more results and keeps their curiosity going. We'd love to collaborate with anyone. ## Erdős #647: m + τ(m) and the next integer ## Erdős #647: m + τ(m) and the next integer ### The question Problem #647 (erdosproblems.com/647 (https://www.erdosproblems.com/647)), due to Erdős and Selfridge: is there an n > 24 with max over m < n of (m + τ(m)) ≤ n + 2? Here τ(m) is the number of divisors of m. Erdős offered 25 pounds for an example. Writing m = n − k, the condition is τ(n − k) ≤ k + 2 for every k = 1, ..., n − 1. (∗) The numbers n = 1, 2, 3, 4, 5, 6, 8, 10, 12 and 24 satisfy it. ### Why it matters It asks whether the divisor function can stay small enough, just below an integer, for all smaller numbers at once; the forum has ruled out every n up to very large bounds, so any example would be very large. ### What answering it would help with An example, or a proof that none exists, would determine whether the divisor function can stay within the stated limits on runs of consecutive integers; separate replications give cross-checks on the forum's searches. ### What our research shows We stand on the shoulders of giants. This chapter is a replication of work already on the forum, in a smaller range than the forum reports. The credits page lists the sources. #### What the forum reports As read through a page reader; the fragments were not checked against the raw pages, and handles are as shown there. - Dutta (January 2026): divisibility filters (rules that rule out whole families of n) ending in n = 2520N. Alexeev: a repair of one step, and the observation that 2520N − 1 is then prime. Kitamura: (n − 3)/3 is prime for n > 84. - Hughes (May to June 2026): a reduction to 41 residue classes (numbers grouped by their remainder on division by 46189) modulo 46189, density bounds, a search to about 6.16 × 10^17 and a certificate (a file that lets a reader check the claim) for no solution with 24 < n ≤ 615,736,321,200,000,000. With bentrd, a frontier of about 9.17 × 10^18 (second-hand: no bentrd comment was visible on the page as read). - Idén (June 2026): no solution in (24, 10^12]; the comment cites an earlier bound of 10^10 in OEIS A087280 (the On-Line Encyclopedia of Integer Sequences, a public catalogue of number sequences). - IbbyMian: a Lean 4 proof (Lean is a program that checks every step of a proof against fixed rules) to 10^8. eerot (October 2026): a kernel-checked exclusion (every step passed Lean's small core checker) to 10^13. - Mian and Siddique (arXiv:2608.17880 (https://arxiv.org/abs/2608.17880), August 2026): a Lean 4 proof, using only the three standard axioms, that no n with 24 < n ≤ 10^9 satisfies the condition. The range of this chapter ends at 10^14 and is computed; no Lean proof ships with it. - veljjanoski (September 2026): GPU searches (run on graphics cards, which do many small calculations at once) to 10^20 and then 10^22, without a certificate. Our search stops at 10^14. It lies inside what Hughes reports with a certificate and beyond eerot's Lean-checked 10^13. It is a replication, with separate code, separate proofs and a separate log, and it does not extend any of these ranges. #### Result The question answered here. Is there an n above 24, up to 10^14, for which m + τ(m) stays at most n + 2 for every m below n? No n with 24 < n ≤ 10^14 satisfies (∗). Together with the brute force (trying every number) up to 6,350,464 (the threshold of the residue lemma below), the solutions in [1, 10^14] are exactly the ten numbers above. A direct computation of every n ≤ 10^8, which does not use the residue lemma, gives the same ten numbers: it was done in C and done again with a separately written program. #### The argument (all elementary) Lemma 1 (lower bound). Let S be a finite set of primes, and write m = d·c where d is the part of m made of primes in S and c is coprime to them. Then τ(m) = τ(d)·τ(c), because τ is multiplicative, and τ(c) = 1 if c = 1, τ(c) = 2 if c is prime, τ(c) ≥ 3 if c is composite. So knowing the exact exponents of the primes in S gives a lower bound on τ(m). Lemma 2 (residue lemma; it recovers the reduction of Dutta and Alexeev). Let M = 2^6·3^4·5^2·7^2 = 6,350,400 and K = 64. Suppose n ≡ r mod M and n > M + K. For each k ≤ K and each prime power p^a exactly dividing M, put t = (r − k) mod p^a. If t ≠ 0 then the exponent of p in n − k is exactly the exponent of p in t. If t = 0 it is at least a. This gives a lower bound b(r, k) for the product of (exponent + 1) over p = 2, 3, 5, 7. When all four exponents are exact, the {2,3,5,7}-part of n − k is less than M < n − k, so n − k has another prime factor and b may be doubled (Lemma 1). If b(r, k) > k + 2 for some k ≤ 64, no n in the class r satisfies (∗). The classes that survive are 2205 in number, and all of them are multiples of 2520, which matches the published reduction. They can be recomputed in a few lines; the check recipe says how. Lemma 3 (the filter at k = 1, 2; the observation of Alexeev and Dutta on the forum, written out in elementary form). If n > 10 satisfies (∗) then n − 1 is prime and (n − 2)/2 is prime. Proof. From k = 1, τ(n − 1) ≤ 3, so n − 1 is 1, a prime or a prime square. If n were odd, n − 1 would be an even prime or the square of one, so n ≤ 5. So n is even and n − 2 is even. From k = 2, τ(n − 2) ≤ 4. If 4 divides n − 2, write n − 2 = 2^a·u with u odd; then (a + 1)·τ(u) ≤ 4 forces u = 1 and a ≤ 3, so n ≤ 10. So 4 divides n and n − 2 = 2u with u odd and 2τ(u) ≤ 4, so u is 1 or prime, and u = 1 gives n = 4. Now n − 1 ≡ 3 mod 4, and an odd square is 1 mod 4, so n − 1 is prime (this last step is Alexeev's: 2520N − 1 is 3 mod 4, so it cannot be a square). ∎ Lemma 4 (soundness of the sieve). The C sieve (a program, written in C, that strikes out numbers in bulk) that produced the logs for n above 10^8 works on n = r + M·j. For each of the 2205 classes and each k ≤ 64 it removes every prime power p^e ≤ n with p ≤ 65536 from n − k exactly, so the exponent of every such p is exact. What is left, the cofactor c, has only prime factors above 65536. It is prime when it is below 65536², and a deterministic Miller-Rabin test (a quick way to tell whether a number is prime) decides it otherwise (the base sets of Sorenson and Webster are deterministic far beyond 10^14). Lemma 1 then gives a lower bound on τ(n − k), and discarding n when that bound exceeds k + 2 can never discard a true solution. Lemma 5 (finitely many k suffice). Let T(x) be the largest τ(m) for m ≤ x. If τ(n − k) ≤ k + 2 for all k ≤ T(n) − 2, then (∗) holds for all k, since τ(n − k) ≤ T(n) ≤ k + 2 beyond that. T(x) can be computed rigorously from the exponent patterns of highly composite numbers. No survivor of the sieve ever arose, so this lemma was only used on test inputs. #### Coverage The sieve ran in chunks. Its output lists, for every class and chunk, the number of candidates n and the number left after each stage. The check recipe says how to read it. A reader checks that every one of the 2205 classes appears exactly once in each chunk, that each class's candidate count equals the exact number of integers n ≡ r (mod M) in the chunk, that the chunks are contiguous from 10^8 + 1 to 10^14, and that no chunk lists a survivor. | range | candidates | survivors | | --- | --- | --- | | (10^8, 10^10] | 3,437,500 | 0 | | (10^10, 10^12] | 343,750,000 | 0 | | (10^12, 10^13] | 3,125,000,000 | 0 | | (10^13, 3·10^13] | 6,944,444,444 | 0 | | (3·10^13, 10^14] | 24,305,555,556 | 0 | | total | 34,722,187,500 | 0 | Every candidate was removed by the lower-bound sieve (stage 1), so the later stages (Miller-Rabin and two exact τ programs) never met a production value. #### What the bundle re-establishes by running, and what it does not - Run here with Python programs of our own: the residue lemma (the 2205 classes); a brute-force computation for n ≤ 6,350,464, which finds exactly the ten numbers; an arithmetic scan of every candidate n up to 10^9 in the 2205 classes, written independently of the C sieve, with no survivors; and the coverage check of the shipped logs. The programs are not part of this book; the recipe in the verification guide gives what to test. - A direct computation for every n ≤ 10^8, with τ(m) for all m ≤ 10^8 from a divisor-count sieve and no use of the residue lemma: done in C (about 8 seconds on one core) and again by a separately written program (about 16 seconds). Both find exactly the ten numbers 1, 2, 3, 4, 5, 6, 8, 10, 12 and 24. - Not re-run: the C sieve itself for n above 10^9. For that range the bundle ships the logs and checks their bookkeeping. The C sources are available on request. - The search is finite. It says nothing about n above 10^14. #### Yesterday, today, tomorrow Yesterday. Erdős and Selfridge asked whether any n above 24 has the property that m plus the number of divisors of m stays at most n plus 2 for every m below n. On the forum, Dutta, Alexeev and Kitamura found filters that reduce the search; Hughes reduced it to 41 residue classes and searched to about 6.16 x 10^17 with a certificate; Idén reported no solution up to 10^12; IbbyMian and eerot gave Lean-checked exclusions to 10^8 and 10^13; and veljjanoski searched to 10^22 without a certificate. Today. This chapter is a replication, in a smaller range than the forum reports, with separate code, proofs and logs. I recomputed the residue lemma (2205 classes, all multiples of 2520), found by brute force that the solutions up to 6,350,464 are exactly the ten numbers 1, 2, 3, 4, 5, 6, 8, 10, 12 and 24 (a direct computation up to 10^8, done twice by separately written programs, finds the same ten), and ran an arithmetic scan to 10^9 with no survivors. For 10^8 to 10^14 the bookkeeping of the sieve logs was checked (34,722,187,500 candidates, none surviving); the sieve itself was not rerun above 10^9. It extends none of the forum's ranges and says nothing above 10^14. Tomorrow. The separate code and logs may serve as a cross-check for people comparing searches on the forum. The elementary lemmas are short enough to reuse in other searches of this kind. ### Check it yourself The recipe for problem 647 in the verification guide recomputes the residue classes, the brute force and the scan, and checks the bookkeeping of the shipped sieve logs. ### Where to go next - How do the exhaustive searches for problem 64 reach their bound, and why do they stop at 22 vertices? See the chapter on problem 64. - How can you check the sieve logs yourself? See the recipe for problem 647. We hope it helps others find more results and keeps their curiosity going. We'd love to collaborate with anyone. ## Statements ## Statements Each statement starts with the question it answers, then says exactly what was checked, in what range, and on what conditions. "Checked" means by the exact computations described in the verification guide, on the data in the certificates folder, unless a line says otherwise. The guide gives a written recipe for each check. ### Cycles of power-of-two length (Erdős problem 64) The question. Does every finite graph with minimum degree at least 3 contain a cycle whose length is a power of two? Erdős and Gyárfás asked this and expected the answer no. See erdosproblems.com/64 (https://www.erdosproblems.com/64). Statement. Every connected graph with minimum degree at least 3 on n vertices, for each n from 4 to 22, contains a cycle of length 4 or 8. Hence no graph with minimum degree at least 3 on at most 22 vertices lacks a cycle of power-of-two length. Range. n ≤ 22, cubic and non-cubic graphs. Order 23 is not claimed here (arXiv:2609.04686 (https://arxiv.org/abs/2609.04686) reports it). Status. COMPUTED. Conditions. - The generator (nauty's geng, restricted to the class described in the chapter) ran as logged and did what the chapter says. - The three reductions (connected, edge-minimal, degree cap) in the chapter on this problem. - The logged parts cover each order completely and found no graph: this is a bookkeeping check on the logs, described in the verification guide. A separate exhaustive search of our own re-establishes the statement for n ≤ 15 only. ### The divisor function and the next integer (Erdős problem 647) The question. Is there an integer n above 24 such that m + τ(m) is at most n + 2 for every m below n, where τ(m) is the number of divisors of m? Erdős and Selfridge asked this. See erdosproblems.com/647 (https://www.erdosproblems.com/647). Statement. There is no integer n with 24 < n ≤ 10^14 such that τ(m) + m ≤ n + 2 for every m < n. Equivalently τ(n − k) ≤ k + 2 fails for some k = 1, ..., n − 1. Range. (24, 10^14]. This is a replication: the forum reports larger ranges (see the credits page). Status. COMPUTED. Conditions. - For n ≤ 6,350,464 by brute force, and for 6,350,464 < n ≤ 10^9 by an arithmetic scan, both done here and described in the verification guide. Separately, a direct computation of every n ≤ 10^8 that does not use the residue lemma, done twice by separately written programs, finds the same ten solutions. - For 10^9 < n ≤ 10^14, by the sieve whose logs are in the certificates folder; the guide's recipe checks the logs' coverage, not the sieve. The sieve rests on Lemmas 1, 2 and 4 of the chapter on this problem. ### Where to go next - How to check each statement yourself: the verification guide. ## Theorems in this book ## Theorems in this book Every theorem and lemma in this book, with its exact statement, status and credit. Maths is written in LaTeX notation, between dollar signs. The entries follow the book's own order: problem 64 (chapter 1), then problem 647 (chapter 3). Each lemma carries one of two labels: "written (proof in this book)", where the book writes out the whole proof, and "stated", where it does not. Results whose status is computed keep that status. ### Lemma 1: the connected reduction Credit: This result (Sonny): proved (written). A component of a counterexample is a counterexample with no more vertices. So it is enough to look at connected graphs. (A counterexample is a finite graph with minimum degree at least $3$ and no cycle whose length is a power of two.) Status: written (proof in this book). Proof: written in chapters/01-erdos-64.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-chapters-01-erdos-64), the section on the three reductions. ### Lemma 2: the edge-minimal reduction Credit: This result (Sonny): proved (written). Let $uv$ be an edge whose two ends both have degree at least $4$. Deleting $uv$ keeps the minimum degree at least $3$, and deleting an edge creates no cycle. Repeat until no such edge is left. With the connected reduction: if a counterexample on at most $N$ vertices exists, then a connected one exists on at most $N$ vertices in which the vertices of degree at least $4$ are pairwise non-adjacent. Status: written (proof in this book). Proof: written in chapters/01-erdos-64.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-chapters-01-erdos-64), the section on the three reductions. ### Lemma 3: the degree cap Credit: This result (Sonny): proved (written). Let $G$ have minimum degree $3$ and no $4$-cycle, and let $v$ have degree $d$. Each neighbour $u$ of $v$ has at most one other neighbour inside $N(v)$, because two would close a $4$-cycle through $v$. So $u$ has at least one neighbour outside the closed neighbourhood of $v$. No two neighbours of $v$ share such an outside vertex, because that would close a $4$-cycle. Hence $n \ge 2d + 1$, so $d \le \lfloor (n-1)/2 \rfloor$. Status: written (proof in this book). Proof: written in chapters/01-erdos-64.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-chapters-01-erdos-64), the section on the three reductions. ### Computation 4: no graph on 4 to 22 vertices with minimum degree at least 3 lacks a cycle of length 4 or 8 Credit: Ducoffe and Dumitru (every graph to 40 vertices); Garcia (to 23, checkable proofs); graphs generated with nauty's geng (McKay and Piperno); an independent replication to 22 vertices by Sonny. Every connected graph with minimum degree at least $3$ on $n$ vertices, for each $n$ from $4$ to $22$, contains a cycle of length $4$ or $8$. Hence no graph with minimum degree at least $3$ on at most $22$ vertices lacks a cycle of power-of-two length. Range: $n \le 22$, cubic and non-cubic graphs. This range lies inside ranges already proved by Ducoffe and Dumitru (every graph to $40$ vertices, arXiv:2609.28594) and by Garcia (to $23$, arXiv:2609.04686, with DRAT proofs); our search is an independent replication by a different method. Status: COMPUTED. **Conditions:** - The generator (nauty's geng, restricted to the class described in the chapter) ran as logged and did what the chapter says. - The three reductions (connected, edge-minimal, degree cap) in the chapter on this problem. - The logged parts cover each order completely and found no graph: this is a bookkeeping check on the logs, described in the verification guide. A separate exhaustive search of our own re-establishes the statement for $n \le 15$ only. Proof: exhaustive search; see chapters/01-erdos-64.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-chapters-01-erdos-64), section "The search", the logs in certificates/erdos64/ and the recipe in VERIFY.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-verify). The statement is in statement/STATEMENT.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-statement-statement). ### Computation 5: the cross-check at order 24 Credit: Builds on: the four 24-vertex graphs, attributed to Klas Markström, as reported by sallerk on the erdosproblems.com forum. This result (Sonny): computed. At order $24$ with maximum degree $3$, the search finds exactly $4$ graphs. That matches the four $24$-vertex cubic graphs with no $4$- or $8$-cycle attributed to Markström (as reported by sallerk; the book did not check this against his paper). Each of the four has a $16$-cycle. A short program confirms that each is $3$-regular, has no $4$- or $8$-cycle and has a $16$-cycle. Status: COMPUTED (the book gives this as a cross-check). Proof: chapters/01-erdos-64.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-chapters-01-erdos-64), section "Cross-checks"; the four graphs are in certificates/erdos64/cubic24.g6. ### Computation 6: the separate exhaustive search to order 15 Credit: Tools: nauty's geng (McKay and Piperno, 2014). This result (Sonny): computed. A separate exhaustive search of our own, written without nauty, finds no graph for orders $4$ to $15$. Status: COMPUTED. Proof: chapters/01-erdos-64.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-chapters-01-erdos-64), section "Cross-checks"; recipe in VERIFY.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-verify). ### Lemma 7: lower bound from the divisors of known primes Credit: no separate credit given in the book for this lemma (the chapter's author line is Sonny). This is Lemma 1 of the problem 647 chapter. There $\tau(m)$ is the number of divisors of $m$ and the condition on $n$ is $\tau(n-k) \le k + 2$ for every $k = 1, \ldots, n-1$, called $(\ast)$. Let $S$ be a finite set of primes, and write $m = d \cdot c$ where $d$ is the part of $m$ made of primes in $S$ and $c$ is coprime to them. Then $\tau(m) = \tau(d)\,\tau(c)$, because $\tau$ is multiplicative, and $\tau(c) = 1$ if $c = 1$, $\tau(c) = 2$ if $c$ is prime, $\tau(c) \ge 3$ if $c$ is composite. So knowing the exact exponents of the primes in $S$ gives a lower bound on $\tau(m)$. Status: written (proof in this book). Proof: written in chapters/03-erdos-647.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-chapters-03-erdos-647), section "The argument (all elementary)". ### Computation 8: the residue lemma (Dutta and Alexeev reduction, recovered) Credit: Builds on: the reduction of Dutta and Alexeev (2026), which this lemma recovers. This is Lemma 2 of the problem 647 chapter. This result (Sonny): a check of another's result (verdict: computed). Let $M = 2^6 \cdot 3^4 \cdot 5^2 \cdot 7^2 = 6{,}350{,}400$ and $K = 64$. Suppose $n \equiv r \pmod M$ and $n > M + K$. For each $k \le K$ and each prime power $p^a$ exactly dividing $M$, put $t = (r - k) \bmod p^a$. If $t \ne 0$ then the exponent of $p$ in $n - k$ is exactly the exponent of $p$ in $t$. If $t = 0$ it is at least $a$. This gives a lower bound $b(r,k)$ for the product of $(\text{exponent} + 1)$ over $p = 2, 3, 5, 7$. When all four exponents are exact, the $\{2,3,5,7\}$-part of $n - k$ is less than $M < n - k$, so $n - k$ has another prime factor and $b$ may be doubled (Lemma 1 of the chapter). If $b(r,k) > k + 2$ for some $k \le 64$, no $n$ in the class $r$ satisfies $(\ast)$. The classes that survive are $2205$ in number, and all of them are multiples of $2520$, which matches the published reduction. Status: stated. The chapter gives the argument for the bound; the count of 2205 surviving classes is computed here by programs of the book's own (see the verification guide), not proved in writing. Proof: written in chapters/03-erdos-647.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-chapters-03-erdos-647); the surviving classes are listed in certificates/erdos647/classes_d0.txt. ### Lemma 9: the filter at k = 1, 2 (Alexeev and Dutta) Credit: the observation of Alexeev and Dutta on the forum, written out in elementary form; the last step is Alexeev's ($2520N - 1$ is $3$ mod $4$, so it cannot be a square). This is Lemma 3 of the problem 647 chapter. If $n > 10$ satisfies $(\ast)$ then $n - 1$ is prime and $(n-2)/2$ is prime. Status: written (proof in this book). Proof: written in chapters/03-erdos-647.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-chapters-03-erdos-647), Lemma 3. In outline as the chapter gives it: from $k = 1$, $\tau(n-1) \le 3$, so $n-1$ is $1$, a prime or a prime square; if $n$ were odd, $n - 1$ would be an even prime or the square of one, so $n \le 5$; so $n$ is even. From $k = 2$, $\tau(n-2) \le 4$; if $4$ divides $n - 2$, write $n - 2 = 2^a u$ with $u$ odd, then $(a+1)\tau(u) \le 4$ forces $u = 1$ and $a \le 3$, so $n \le 10$. So $4$ divides $n$ and $n - 2 = 2u$ with $u$ odd and $2\tau(u) \le 4$, so $u$ is $1$ or prime, and $u = 1$ gives $n = 4$. Now $n - 1 \equiv 3 \pmod 4$, and an odd square is $1$ mod $4$, so $n - 1$ is prime. ### Lemma 10: soundness of the sieve Credit: no separate credit given in the book for this lemma; the deterministic Miller-Rabin base sets are those of Sorenson and Webster (2015), and the test is Miller (1976) and Rabin (1980), per the credits page. This is Lemma 4 of the problem 647 chapter. The C sieve that produced the logs for $n$ above $10^8$ works on $n = r + Mj$. For each of the $2205$ classes and each $k \le 64$ it removes every prime power $p^e \le n$ with $p \le 65536$ from $n - k$ exactly, so the exponent of every such $p$ is exact. What is left, the cofactor $c$, has only prime factors above $65536$. It is prime when it is below $65536^2$, and a deterministic Miller-Rabin test decides it otherwise (the base sets of Sorenson and Webster are deterministic far beyond $10^{14}$). Lemma 1 of the chapter then gives a lower bound on $\tau(n-k)$, and discarding $n$ when that bound exceeds $k + 2$ can never discard a true solution. Status: stated. The chapter gives the argument; it rests on how the sieve program behaves and on the cited primality-test base sets, and the program is not shipped. Proof: argument in chapters/03-erdos-647.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-chapters-03-erdos-647), Lemma 4. ### Lemma 11: finitely many k suffice Credit: no separate credit given in the book for this lemma. This is Lemma 5 of the problem 647 chapter. Let $T(x)$ be the largest $\tau(m)$ for $m \le x$. If $\tau(n-k) \le k + 2$ for all $k \le T(n) - 2$, then $(\ast)$ holds for all $k$, since $\tau(n-k) \le T(n) \le k + 2$ beyond that. $T(x)$ can be computed rigorously from the exponent patterns of highly composite numbers. Status: written (proof in this book) for the implication; the claim that T(x) can be computed rigorously is stated. The chapter adds: no survivor of the sieve ever arose, so this lemma was only used on test inputs. Proof: written in chapters/03-erdos-647.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-chapters-03-erdos-647), Lemma 5. ### Computation 12: the solutions up to 6,350,464 Credit: This result (Sonny): computed. The solutions of $(\ast)$ for $n \le 6{,}350{,}464$ are exactly the ten numbers $1, 2, 3, 4, 5, 6, 8, 10, 12, 24$. (The check treats $n = 1$ as satisfying the condition with the empty maximum.) Status: COMPUTED (brute force). Proof: recipe, part 2, in VERIFY.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-verify); chapters/03-erdos-647.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-chapters-03-erdos-647), section "Result". ### Computation 13: the solutions up to 10^8, by direct computation Credit: This result (Sonny): computed. A direct computation of every $n \le 10^8$, which does not use the residue lemma, gives the same ten numbers $1, 2, 3, 4, 5, 6, 8, 10, 12, 24$. It was done in C and done again with a separately written program. Status: COMPUTED. Proof: chapters/03-erdos-647.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-chapters-03-erdos-647), section "What the bundle re-establishes by running"; recipe in VERIFY.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-verify). ### Computation 14: no example with 24 < n <= 10^14 Credit: The reduction of Dutta and Alexeev (2026), used here by Sonny. There is no integer $n$ with $24 < n \le 10^{14}$ such that $\tau(m) + m \le n + 2$ for every $m < n$. Equivalently $\tau(n-k) \le k + 2$ fails for some $k = 1, \ldots, n-1$. Range: $(24, 10^{14}]$. This is a replication: the forum reports larger ranges (see the credits page). Status: COMPUTED. **Conditions:** - For $n \le 6{,}350{,}464$ by brute force, and for $6{,}350{,}464 < n \le 10^9$ by an arithmetic scan, both done here and described in the verification guide. Separately, a direct computation of every $n \le 10^8$ that does not use the residue lemma, done twice by separately written programs, finds the same ten solutions. - For $10^9 < n \le 10^{14}$, by the sieve whose logs are in the certificates folder; the guide's recipe checks the logs' coverage, not the sieve. The sieve rests on Lemmas 1, 2 and 4 of the chapter on this problem. Proof: chapters/03-erdos-647.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-chapters-03-erdos-647); statement in statement/STATEMENT.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-statement-statement); logs in certificates/erdos647/; recipe in VERIFY.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-verify). ### Computation 15: the sieve coverage Credit: This result (Sonny): computed. The sieve ran in chunks; the candidate counts and survivors are as follows. In $(10^8, 10^{10}]$ there are $3{,}437{,}500$ candidates and $0$ survivors; in $(10^{10}, 10^{12}]$, $343{,}750{,}000$ candidates and $0$ survivors; in $(10^{12}, 10^{13}]$, $3{,}125{,}000{,}000$ candidates and $0$ survivors; in $(10^{13}, 3 \cdot 10^{13}]$, $6{,}944{,}444{,}444$ candidates and $0$ survivors; in $(3 \cdot 10^{13}, 10^{14}]$, $24{,}305{,}555{,}556$ candidates and $0$ survivors; in total $34{,}722{,}187{,}500$ candidates and $0$ survivors. Every candidate was removed by the lower-bound sieve (stage 1). Status: COMPUTED (the bookkeeping of the shipped logs is checked; the sieve itself was not re-run above $10^9$). Proof: chapters/03-erdos-647.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-chapters-03-erdos-647), section "Coverage"; logs in certificates/erdos647/. ### Open questions #### Erdős problem 64 Credit: Builds on: the question of Erdős and Gyárfás; Liu and Montgomery (arXiv 2020), who proved the answer is yes when the minimum degree is larger than an absolute constant; the computer search of Ducoffe and Dumitru (arXiv:2609.28594), no counterexample on at most 40 vertices, at most 66 if bipartite, at most 48 if cubic. Does every finite graph with minimum degree at least $3$ contain a cycle whose length is a power of two? Erdős and Gyárfás asked this and expected the answer no. Ducoffe and Dumitru proved the answer is yes for every graph on at most $40$ vertices (arXiv:2609.28594, Theorem 5.1). The question is open. Status: open. Proof: none; see chapters/01-erdos-64.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-chapters-01-erdos-64). #### Erdős problem 64 at 23 vertices Proved elsewhere: arXiv:2609.04686 (https://arxiv.org/abs/2609.04686) (Garcia, preprint), with checkable DRAT proofs; also covered by arXiv:2609.28594 (https://arxiv.org/abs/2609.28594) (Ducoffe and Dumitru, to $40$ vertices). Credit: Daniel Garcia (arXiv:2609.04686 (https://arxiv.org/abs/2609.04686)); Ducoffe and Dumitru (arXiv:2609.28594 (https://arxiv.org/abs/2609.28594)) for the larger range. Every graph with minimum degree at least $3$ on at most $23$ vertices has a cycle of length $4$ or $8$ (Garcia, Theorem 2.1). Ducoffe and Dumitru extend the search to $40$ vertices. Our own search covers at most $22$ vertices. Status: proved elsewhere (preprints); not claimed by this book. Proof: none; see chapters/01-erdos-64.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-chapters-01-erdos-64). #### Erdős problem 647 Credit: Builds on: the question of Erdős and Selfridge. Is there an integer $n$ above $24$ such that $m + \tau(m)$ is at most $n + 2$ for every $m$ below $n$? Erdős and Selfridge asked this. The numbers $1, 2, 3, 4, 5, 6, 8, 10, 12, 24$ satisfy the condition. The search here stops at $10^{14}$ and says nothing above it. Status: open. Proof: none; see chapters/03-erdos-647.md (https://gocheckyourself.org/read/erdos-problems/experts/#ch-chapters-03-erdos-647). ## Verify: Erdős problems 64 and 647 ## Verify: Erdős problems 64 and 647 This guide gives a written recipe for each check, so that you can write your own checker in any language. Each recipe states the files, their format, the exact condition to test, the expected answer, and what a pass shows and does not show. No program of ours is needed. Each recipe also comes as a step-by-step page (https://gocheckyourself.org/data/recipes/erdos-problems-REPLICATE.md) with commands for Windows, macOS and Linux and the exact output to expect. ### What is claimed | Problem | Question | Claim | Range | | --- | --- | --- | --- | | 64 | Must every graph with minimum degree at least 3 contain a cycle whose length is a power of two? | Every connected graph with minimum degree at least 3 on n vertices contains a cycle of length 4 or 8; so no graph with minimum degree at least 3 on at most 22 vertices lacks a power-of-two cycle | n = 4 to 22 (23 not covered) | | 647 | Is there an n above 24 with max over m < n of (m + τ(m)) at most n + 2? | No n with 24 < n ≤ 10^14 has this property | (24, 10^14] | The statements, with their conditions, are in the statement file. ### Status Computed within this project; not yet refereed. Nobody outside this project has reviewed any of this. - Problem 64: exhaustive generation by nauty's geng, restricted to a class described in the chapter. The recipe below re-reads the generator logs of every part (a bookkeeping check). A separate exhaustive search of our own covers n ≤ 15. - Problem 647: a replication of a smaller range than the forum reports (larger ranges, up to 10^22, are credited on the credits page). We re-ran the range up to 10^9 and re-read the logs of the C sieve for 10^8 to 10^14. ### Commands Every recipe starts from the same step, which uses only a SHA-256 tool: compare the fingerprint of each published file with the list shipped with the certificates. Run this inside the certificates folder. Every line must report OK. ``` sha256sum -c SHA256SUMS.txt # Linux shasum -a 256 -c SHA256SUMS.txt # macOS ``` On Windows, compute each file's hash with the command below and compare it with the list by eye or with a few lines of script. ``` CertUtil -hashfile SHA256 ``` The other recipes need only a text reader and a few dozen lines of code in any language that has arbitrary-size integers or exact fractions (Python's integers and fractions are enough), plus, optionally, the free nauty package for the enumerations in the problem 64 recipes. For graph6 files, nauty's tools or any graph library can decode them. #### Recipe for problem 64: the generator logs Files. Two part files and one file of graphs, all in the problem 64 folder of the certificates: the part files for orders 4 to 21 and for order 22, and the file of 24-vertex cubic graphs. Format of a part file. UTF-8 text with line feeds. Lines starting with "#" are comments. Every other line has three fields separated by " | ": a part name, the line geng printed when it started, and the line geng printed when it finished. The start line looks like the upper pattern below, the finish line like the second. ``` >A geng_main -cf[X0x]d3[D] n= e=[-] [class=/] >Z graphs generated in sec ``` The options mean: c, connected; f, no 4-cycle; d3, minimum degree at least 3; D, maximum degree at most the cap; the optional X option is a parameter of the pruning step and can be ignored. The part name, the program path and the timings are not tested. Conditions to test. For every order n from 4 to 22: - the parts filed under n cover the order completely. For n = 4 to 18, exactly one part and no class field. For n = 19, 20, 21, 22, the parts have class res/mod with mod equal to 8, 32, 128, 512 respectively, the residues 0, ..., mod − 1 each occur exactly once, and no part name is repeated; - every part has options c and f, a degree cap D with D ≥ ⌊(n − 1)/2⌋ (at orders 4 to 18 the logs show the trivial cap D = n − 1), and a lower edge bound lo equal to ⌈3n/2⌉; - every part reports a count of 0. For the 24-vertex anchor: exactly one part with n = 24, and its count is 4. The orders present must be exactly 4 to 22 and 24. Expected answer. All conditions hold: 695 parts in all for orders 4 to 22 (one for each of the orders 4 to 18, then 8, 32, 128 and 512 parts for orders 19 to 22), every one reporting 0 graphs, and the anchor reporting 4. What a pass shows, and what it does not. It shows that every part finished and generated nothing. It does not show that the geng binary that ran was built to prune exactly the class described in the chapter, and it does not cover order 23 or above. #### Recipe for problem 64: the small orders and the 24-vertex graphs Claim. For each n from 4 to 15, no connected graph with minimum degree at least 3 has neither a 4-cycle nor an 8-cycle. Test. Enumerate connected graphs on n vertices with minimum degree at least 3 and no 4-cycle, by any method (for example nauty's geng with options for connected, no 4-cycle and minimum degree 3), and discard those with an 8-cycle. Expected: nothing is left, for every n from 4 to 15. Sanity values. For the graphs this recipe lists (connected, minimum degree at least 3, no 4-cycle, triangles allowed), order 9 has none and order 10 has exactly 5; orders 11 to 15 have 9, 57, 503, 6,059 and 91,433. Every one of them has an 8-cycle, so banning 8-cycles as well leaves none. If triangles are banned too, order 10 has exactly one graph, the Petersen graph, which is 3-regular and has an 8-cycle. The 24-vertex graphs. The file of cubic graphs holds four graphs in graph6 format, one per line. For each: 24 vertices, every vertex of degree 3, no cycle of length 4 or 8, and a cycle of length 16. Expected: all four pass. #### Recipe for problem 647: the residue classes, the small range and the sieve logs Part 1: residue classes. Let M = 2^6 · 3^4 · 5^2 · 7^2 = 6,350,400. For each r from 0 to M − 1 and each k from 1 to 64, compute a lower bound b for τ(n − k) for every n ≡ r (mod M): for each prime power q = p^a in {64, 81, 25, 49}, let t = (r − k) mod q; the exponent of p in n − k is the exponent of p in t if t ≠ 0, and at least a if t = 0. Let b be the product of (exponent + 1) over the four primes (use a + 1 when t = 0). If all four values of t are nonzero, multiply b by 2. The class r survives if b ≤ k + 2 for every k from 1 to 64. Expected: 2,205 classes survive, all multiples of 2520, and they equal the integers listed, one per line in increasing order, in the classes file. Part 2: brute force. For n up to 6,350,464, compute τ by a sieve and test the condition max over m < n of (m + τ(m)) ≤ n + 2 directly (n = 1 satisfies it with the empty maximum). Expected solutions: 1, 2, 3, 4, 5, 6, 8, 10, 12, 24. Optionally, run the same test for every n up to 10^8, which needs no residue lemma; τ for all m ≤ 10^8 fits in about 200 MB as 16-bit counts. Expected: the same ten numbers (our two separately written programs took about 8 and 16 seconds). Part 3: arithmetic scan. For every n in (6,350,464, 10^9] lying in one of the 2,205 classes, find some k with τ(n − k) > k + 2 (trial division by small primes, a primality test on the cofactor, and the fact that a composite cofactor has at least 3 divisors). Expected: such a k exists for every n; the number of candidates is 345,017. A known near miss posted on the forum by Sayan Dutta, 604517614941240, satisfies the condition for k ≤ 13 and fails at k = 14 and not before. Part 4: the sieve logs. The sieve logs are the files of production output in the problem 647 folder of the certificates. Format: lines starting "# sieve647" give parameters, including the bounds nlo and nhi of the chunk and which share of the range it is (the program prints this field as worker=i/n; in the logs shipped here it is written share=i/n, which is the only change made to them); lines "C r cand c s1 x s2 y" give, for class r, the candidate count c and the numbers of survivors after two stages; a last line starting "# DONE" ends the file; no line may start with "S". Several files may belong to one chunk, each covering a different set of classes. Conditions: in every chunk, taken over all its files, each of the 2,205 classes occurs exactly once; each count c equals the number of integers n ≡ r (mod M) in the chunk; x and y are 0 everywhere; the chunks are contiguous starting at 10^8 + 1 and ending at 10^14. Expected: the chunks are (10^8, 10^10], (10^10, 10^12], (10^12, 10^13], (10^13, 3·10^13], (3·10^13, 10^14], with 3,437,500; 343,750,000; 3,125,000,000; 6,944,444,444 and 24,305,555,556 candidates (34,722,187,500 in all) and no survivors. What a pass shows, and what it does not. Parts 1 to 3 re-establish the range up to 10^9; they depend on the residue lemma, whose proof is in the chapter. Part 4 checks the bookkeeping of the logs, not the sieve itself. Nothing is shown above 10^14. ### Expected output | Recipe | Expected answer | | --- | --- | | Fingerprints | Every line OK | | Problem 64, logs | 695 parts for orders 4 to 22, all reporting 0 graphs; the order-24 anchor reports 4 | | Problem 64, small orders | no graph for n = 4 to 15; four anchor graphs each 3-regular on 24 vertices with no 4- or 8-cycle and a 16-cycle | | Problem 647 | 2,205 classes, all multiples of 2520; solutions up to 6,350,464 exactly 1, 2, 3, 4, 5, 6, 8, 10, 12, 24; no survivors in the scan; 34,722,187,500 candidates covered in (10^8, 10^14] | ### Time and memory Measured on one laptop-class machine with 16 logical cores, with our own Python programs, with other work running. - Problem 64 logs: under a second. Small orders to 15: about 30 to 50 seconds and 20 MB; order 16 adds a few minutes. - Problem 647: about 1 to 2 minutes on one core and about 125 MB. Your times will depend on language and method. ### What is not claimed Problem 64 - Nothing about 23 vertices or more. Garcia (arXiv:2609.04686 (https://arxiv.org/abs/2609.04686)) proved 23 with DRAT proofs; Ducoffe and Dumitru (arXiv:2609.28594 (https://arxiv.org/abs/2609.28594)) proved every graph to 40 vertices. - The generator logs are the last lines geng printed for each part. They show that every part finished and found no graph. They cannot show that the geng binary carried the pruning for exactly the class described in the chapter; that rests on the build, which we do not ship. - The part files had the program path in each start line shortened to geng_main; nothing else in them was changed. - Order 24 with maximum degree 3, giving four graphs, is a cross-check against a count attributed to Markström as reported by sallerk; we did not check it against his paper. - This does not settle the problem. Problem 647 - Nothing about n above 10^14, and not a larger range than the forum's. - For 10^9 < n ≤ 10^14 the recipe checks the bookkeeping of the sieve's logs (every class once per chunk, exact candidate counts, contiguous chunks, no survivors), not the sieve. The C source of the sieve and of the brute force up to 10^8 is available on request. - The scan up to 10^9 uses the residue classes of the residue lemma, so it depends on that lemma; the lemma is recomputed here and compared with the shipped list, but its proof is the one in the chapter. Supporting records are available on request. ### Our own programs and methods No Lean proof is shipped in this book. How I direct this work, and my own tools, are not part of this book. The files listed above ship; the files named there as not shipped are available on request. ### Where to go next - What each problem asks and what was found: the front page. - The exact statements and their conditions: the statements. ## Files and fingerprints ## Trust and verification ## People and works ## Files and rights ## Licence The files Sonny wrote for this book are under the Creative Commons Attribution 4.0 International licence (CC BY 4.0) (https://creativecommons.org/licenses/by/4.0/). You may copy, share and adapt them for any purpose, as long as you give credit. How to give credit: "Sonny (Sonny), gocheckyourself.org", with a link to the page or file you used, and a note saying what you changed, if anything. What it covers: the chapters, the statement pages, the check guide, the credits, and the certificates (the generator logs, the residue-class list and the sieve logs, which are data files). What it does not cover: - nauty (Brendan McKay and Adolfo Piperno). No program, and no source or binary of nauty, is distributed in this book; the part files hold what geng printed. - Programs that are not part of this book, and work that is not published on this site. - Trade marks, and the other rights that section 2(b) of the licence leaves out. The licence file is LICENSE-CC-BY-4.0.txt; the full legal code is at https://creativecommons.org/licenses/by/4.0/legalcode (https://creativecommons.org/licenses/by/4.0/legalcode). ### Where to go next - Whose work this book builds on: the credits. - Back to the start: the front page.