Skip to content

HELP WANTED: Computing sequence for Erdős problem #290 #164

Open

Description

@Woett

For a given positive integer $a$, let $b(a)$ be the smallest integer $b > a$ such that the denominator of $\frac{1}{a} + \frac{1}{a+1} + \ldots + \frac{1}{b}$ is larger than the denominator of $\frac{1}{a} + \frac{1}{a+1} + \ldots + \frac{1}{b+1}$. For example, $b(3) = 5$, as $\frac{1}{3} + \frac{1}{4} + \frac{1}{5} = \frac{47}{60}$ while $\frac{1}{3} + \frac{1}{4} + \frac{1}{5} + \frac{1}{6} = \frac{19}{20}$, and $60 > 20$.

In this paper (where the definition of $b(a)$ is shifted by $1$, but I'll ignore that for now) it is proven that $b(a)$ exists for all $a$, and we moreover have the upper bound $b(a) < 4.374a$ for all $a > 1$.

For this post I am more interested in the lower bound, however. In that regard, Section $3.3$ of the referenced paper proves $b(a) > a + (c_0 + o(1))\log(a)$ for some specific constant $c_0$ with $0.54 < c_0 < 0.55$. As it is conjectured that this lower bound is optimal (that is, for every $\epsilon > 0$ I expect there to be infinitely many $a$ for which $b(a) < a + (c_0 + \epsilon)\log(a)$ ), I think it would be worthwhile to add the decimal expansion of $c_0$ to the OEIS. As of right now I only know that it starts with $0.54$, and my best guess is that the next digit is a $6$, although it could be a $5$.

To explain how this constant $c_0$ can be calculated takes a bit of time, so please bear with me. However, I can tell you the tldr already: we need to count the number of derangements in certain large Galois groups. So if you happen to have some knowledge in that area, you are more than welcome to help!

Now, for a positive integer $d$, define the polynomial $f_d(x) := \sum_{i=0}^d \prod_{0 \le j \le d, j\neq i} (x-j)$ and let $\delta(f_d)$ be the density of primes $p$ for which $f_d(x) \equiv 0 \pmod{p}$ is solvable. We further define $c := \sum_{d=1}^{\infty} \frac{\delta(f_d)}{d(d+1)}.$ By the aforementioned Section $3.3$ we then have the following bounds on $b(a)$: $\frac{1}{1+c} \le \liminf_{a \rightarrow \infty} \frac{b(a) - a}{\log(a)} \le \frac{1}{2c}.$ The constant $c_0$ I referenced earlier is the lower bound $\frac{1}{1+c}$ here.

All in all we see that to determine $c_0$, it suffices to know $\delta(f_d)$ for all $d$.

As it turns out, $\delta(f_d) = 1$ for all odd $d$. The reason for this is that we have the equality $f_d(x) = (-1)^d f_d(d-x)$, which gives $f_d(d/2) = 0$ implying that $f_d(x) \equiv 0 \pmod{p}$ is solvable for all $p > 2$. When $d$ is even, things are less clear, and here we get to the heart of the matter.

Let $G_d$ be the Galois group of $f_d(x)$, viewed as a group of permutations on the roots of $f_d(x)$. We recall that a permutation $\sigma$ on a set $X$ is called a derangement if $\sigma(x) \neq x$ for all $x \in X$. A theorem by Frobenius then states that, if $f_d(x)$ is irreducible (which I have checked for all even $d \le 500$ using PARI/GP), then $\delta(f_d)$ is equal to the proportion of elements $\sigma \in G_d$ such that $\sigma$ is not a derangement.

So what do these Galois groups $G_d$ look like when $d = 2l$ is even? I can prove that they are subgroups of the so-called signed symmetric group $S^{+}_l$, which has order $2^l \cdot l!$. Moreover, if $G_d$ is equal to the full group $S^{+}_l$ (which I found happens for all even $d \le 60$ except $d = 8, 24, 48$), then there is a formula for the number of derangements in $G_d$ which we can then simply plug in, in order to find $\delta(f_d)$. The interesting case is when $G_d$ is a proper subgroup of $S^{+}_l$, and then I am no longer sure what's true. So the step by step plan (which may have shortcuts I don't know about) is:

  1. Determine $G_d$ for as many even $d$ as possible, and check that $f_d(x)$ is indeed irreducible for these $d$.
  2. Calculate the number of derangements in $G_d$.
  3. Use this (and other bounds on $\delta(f_d)$ like $\frac{1}{d} \le \delta(f_d) \le 1 - \frac{1}{d}$ that may hold in general) to find as many digits of $c_0$ as possible.
  4. ???
  5. Profit.

All steps can plausibly be carried out using packages like GAP/Sage/Magma, perhaps combined with some group-theoretic arguments.

Thanks in advance for anyone interested to help out, and thanks already for finishing this wall of text.

Activity

  1. added
    help wanted
    on Nov 29, 2025
  2. carlostoledo1891 commented on Aug 4, 2026

    @carlostoledo1891

    erdos290-programs.zip

    Short answer to the sequencing question first: the value to sequence is 1/(1+c), and it is

    1/(1+c) ∈ [0.545485611000, 0.546712849449]   unconditionally, and
    1/(1+c) = 0.546229310400104587412660585438363...   under one stated assumption
              about the Galois groups in the tail.
    

    Unconditionally that interval pins only the first two digits, so my instinct is that only
    the conditional expansion is worth an OEIS entry, with the assumption written into the
    definition — including its failure semantics: the assumption enters only at even d >= 122,
    so a first failure at degree d0 moves c by at most 0.607/(d0(d0+1)), and 1/(1+c) by about
    a third of that; by interval containment (the kernel prints and asserts the counts), a
    failure at d0 = 122 would preserve only 0.5462 — four digits — and the entry would be
    amended by raising d0 rather than retracted. But that is a call for you and an OEIS
    editor, so I would rather ask than guess.

    One dependency stated plainly, since it is yours: the unconditional interval takes
    Lemma 32's Magma determination that G_d = S_l^+ for even d <= 60 outside {8, 24, 48} as
    given — I certified the irreducibility half independently, not the group half. Beyond
    that it assumes nothing.

    The blocker was the Galois groups. The three the paper leaves open (d = 8, 24, 48) are now
    pinned exactly, and the determination extends to every even d ≤ 120 — which turned up two
    further exceptional degrees, d = 80 and d = 120.

    There is also a clean reason for those degrees. For even d = 2l,

    disc(f_d) = (d+1) * (2^l * l! * disc h)^2,
    

    where h is the pair polynomial with f_d(x+l) = h(x^2). The bracket is a perfect square, so
    disc(f_d) is a square exactly when d+1 is — and for even d that means d+1 = (2k+1)^2, i.e.
    d = 4k(k+1). So no other degree can drop into the even-weight subgroup, for any k -- a
    theorem rather than the pattern I first took it for. (Two scope notes, so this is not read
    as more than it is: whether the group actually drops at a given 4k(k+1) is the separate
    per-degree question above, answered yes at every degree computed and open past d = 120; and
    "exceptional" beyond the computed range could in principle also mean a drop to a subgroup
    NOT inside A_{2l}, which a nonsquare discriminant does not forbid — no computed degree does
    that, but the identity alone does not exclude it.) The composition identity inside the
    proof is published — Altmann, Awtrey, Cryan, Shannon, Touchette, J. Algebra Appl. 19 (2020)
    2050014, Thm 2.4, restated as Chen-Chin-Tan, arXiv:2210.10257, Prop. 2.8 — in MONIC form;
    the non-monic leading factor a = lead(h) = d+1 is exactly what makes the criterion
    non-trivial here. The specialization to f_d I could not find anywhere: van Doorn's paper
    never uses the word "discriminant", and neither disc(f_d) = 1, 12, 2000, 6728000, ... nor
    the disc(h) sequence appears in OEIS (the degree pattern itself is A033996, with no comment
    connecting it to polynomials or Galois groups).

    I am posting the mathematics as a comment on the problem page, since CONTRIBUTING asks
    that mathematical content go there, and will add the link here as soon as it is up.

    Everything is attached, and also downloadable as a pack at
    https://mfg-lab.vercel.app/technical-reports/erdos290 — plain Node.js, no dependencies, no
    Sage and no Magma. Run them in this order:

    node theorem.js         the square-discriminant law, as an exact integer identity; ~15 s
    node tail-sweep.js      regenerates tail-deltas.json; ~10 minutes, the slow one
    node kernel.js          the enclosure (reads tail-deltas.json); ~20 s
    node galois8.js         d = 8 by enumerating all 1659 subgroups of S_4^+; ~2 minutes
    node galois-exceptions.js   d = 24, 48 by structural elimination
    node pattern-check.js   the d = 168 check
    node narrowing.js       regenerates the figure data (narrowing.json); instant
    

    kernel.js reads tail-deltas.json, so running it before the sweep certifies a stored file
    rather than a recomputed one — every stored entry is re-derived from its declared group's
    closed form and gated by the theorem (an index-2 entry at a degree where d+1 is not a
    square refuses). About fifteen minutes end to end. Five of the seven carry
    deliberately broken variants that must fail (twelve in all); pattern-check.js instead carries
    two directional controls, d = 118 which must show a non-residue and d = 120 which must not;
    narrowing.js asserts monotonicity and, when run beside the write-up page, that every number
    the page hardcodes matches the generated copy.

    AI disclosure: this computation was carried out with AI assistance. The programs were
    written and run under my direction and every number is reproducible by running them. I have
    checked every claim in this text myself. No third party has re-run the programs, so the
    checks and the code still share an author — they rule out slips but not a shared
    misconception. An independent recomputation of delta(f_8) = 25/64 in Sage or Magma would
    take an afternoon and is what I would most like from this thread.

  3. carlostoledo1891 commented on Aug 31, 2026

    @carlostoledo1891

    @Woett — the third digit is now unconditional.

    When I posted above, the unconditional bracket was

    1/(1+c) in [0.545485611000, 0.546712849449]
    

    which, as I said then, pins only the first two digits. The determination has
    since been pushed from even d <= 120 to every even d <= 620 — 250
    consecutive degrees closed by the five-candidate structural squeeze, unique
    survivor at each, none left open. That gives

    c        in [0.830416407911, 0.831220912621]
    1/(1+c)  in [0.546083759260, 0.546323774021]
    

    so 1/(1+c) = 0.546... with no assumption of any kind. The 6 you guessed
    is now proved rather than conditional.

    Three things came with it.

    The exceptional degrees all fell. d = 4k(k+1) for k = 6..11 — that is
    168, 224, 288, 360, 440, 528 — every one closed to an exact delta. They are
    also the only degrees in that range that drop, which is forced by

    disc(f_d) = (d+1) * ( 2^l * l! * disc(h) )^2,    where f_d(x+l) = h(x^2)
    

    so disc(f_d) is a perfect square exactly when d+1 is.

    The conditional expansion is unchanged in value, but its assumption now
    starts far later
    — at even d >= 622 instead of d >= 62:

    1/(1+c) = 0.54622931040010458741266058543836314273483317015360257199417712941054333303218493659023941816307519773773368722
    

    On sequencing, my view is unchanged. The conditional expansion is the one
    worth an entry, with the assumption written into the definition and its
    failure semantics stated: a first failure at d0 moves c by at most
    1/(d0(d0+1)) and 1/(1+c) by at most about 0.299/(d0(d0+1)), which at
    d0 = 622 is below 8e-7 — so such an entry is amended by raising d0 and
    never retracted. What is new is that there is now a clean unconditional
    companion to set beside it, 0.546, for an editor who would rather have
    three digits that assume nothing than 110 that assume something. I am happy
    either way.

    Where this stops, and it is worth saying plainly. The bracket width is
    essentially 1/(4L) at horizon L — it is the unpinned tail
    Sum_{l>L} 1/(2l(2l+1)) and nothing else, since every undetermined degree is
    charged the full delta in [0,1]. A fourth unconditional digit therefore
    needs the horizon near 3100 rather than 310: ten times the degrees, each
    roughly 10^4 times more expensive. That is no longer a compute problem.
    What would actually move it is a theorem that stops charging the full unit —
    even a proof that delta lies in some interval of width 0.1 for all large
    even d would shrink the entire tail tenfold, immediately, with no
    computation at all.

    The check I asked for still stands, and is still what this computation most
    wants from someone else's hands: delta(f_8) = 25/64 re-derived in Sage or
    Magma is an afternoon. And one dependency remains yours, stated plainly: the
    unconditional interval takes Lemma 32's Magma determination that
    G_d = S_l^+ for even d <= 60 outside {8, 24, 48} as given — I certified
    the irreducibility half independently, not the group half.

    Everything above re-certifies at every build, and the method and code are at
    https://www.carlostoledo.co/reports/erdos290.html

  4. carlostoledo1891 commented on Aug 31, 2026

    @carlostoledo1891

    Three follow-ups to the above, one of which I should have noticed the first time.

    1. The same bracket sharpens the OTHER constant in Theorem 8

    I had been treating problem 290 as being about the lower bound. It isn't — Theorem 8 is
    two-sided, Lemma 31 gives 1/(1+c) below and Lemma 30 gives 1/(2c) above, and
    both published constants are those two expressions at two decimals under
    0.82 < c < 0.85. So the same c governs both ends, and a bracket for c moves
    both.

    The upper end costs nothing extra. 1/(2c) decreases in c, so it is fed by the
    bracket's certified LOWER endpoint — and a lower endpoint charges the unpinned
    tail zero, so no tail assumption, no group information above the horizon and no
    further degree enters it:

    liminf (b(a)-a)/log a  <=  1/(2c)  <=  0.602107563430      (published: 0.61)
    

    Together with the other end, Theorem 8 would read

    0.546083759260  <  liminf (b(a)-a)/log a  <  0.602107563430
    

    narrowing the published interval from width 0.07 to 0.0560.

    Where that actually comes from, since it flatters me otherwise: at the cited
    horizon the same division already gave 0.603053548709. Almost all of the gain
    is that 0.82 is a conservative reading of c, not that the horizon was short —
    my 250 degrees move it by about 0.001. Same Lemma 32 dependency as everything
    else I have posted; no tail assumption on either endpoint.

    2. I over-sold the fourth digit, and here is what it would actually take

    I said above that a window of width 0.1 on delta would shrink the tail
    tenfold. That is right, but I never worked out which window. The fourth digit of
    1/(1+c) needs

    c in (0.830496064433, 0.830831197364)
    

    i.e. the tail's delta confined to (0.0990, 0.5156] — much weaker on the low
    side than I would have guessed, and TIGHTER on the high side. Worth saying
    plainly: the fourth digit is an OEIS digit, not a theorem digit. No statement
    anywhere carries this constant to four places, whereas 0.54 -> 0.546 really is
    a sharper constant in a printed theorem. That changes what I think the sequencing
    question is worth, in the direction of your own instinct in the thread.

    3. On the tail lemma — the obstruction may be the kernel, not the image

    Writing G_d <= S_l^+, K = G_d ∩ C_2^l and pi(G_d) <= S_l, the useful
    direction seems to me to be:

    • if K contains the even-weight submodule, then over any sigma the sign
      vectors form a coset of K which surjects onto the fixed coordinates, so the
      conditional probability of fixing a root is exactly 2^(-fix(sigma)) (up to
      the sigma = id term, which only helps);
    • t -> 2^(-t) is convex, so E[2^(-fix)] >= 2^(-E[fix]);
    • E[fix] = 1 by Burnside for ANY transitive pi(G_d).

    which gives delta(f_d) <= 1/2 with no primitivity, no Jordan, and no
    identification of pi(G_d) at all — comfortably inside the 0.5156 ceiling
    above. If that is right, the size of the image is not what the tail lemma needs;
    it needs K to be large, and K in {0, <diag>} is the only dangerous case (there
    delta can rise toward 1 - 1/e, past the ceiling). Every one of the 250 degrees
    I closed came back with K full or even-weight — 244 S_l^+, 6 even-weight, no
    third behaviour — so the hypothesis has never failed, which of course is not a
    proof of anything.

    The honest blocker underneath all of it: Lemma 32 establishes irreducibility by
    polisirreducible for even d <= 500 and the group by Magma for even d <= 60.
    Both are computations, so for large d there is no theorem that f_d is
    irreducible — and Lemma 38 needs it. I could find no literature on
    Gal(f_d) at all outside your paper. The one untried lever I can see is a
    Newton-polygon argument at primes dividing d!, since f_d(0) = (-1)^d d!,
    lead(f_d) = d+1 and h(0) = (-1)^l (l!)^2 — the shape Filaseta and Trifonov
    used for Bessel and generalized Laguerre. I have not attempted it.

    A correction to my own write-up

    I had credited the composition-discriminant step to Altmann-Awtrey-Cryan-
    Shannon-Touchette 2020 and called handling the non-monic leading factor the new
    part. Both halves were wrong: that paper is about x^8 + a x^4 + b and carries
    no general composition law, and the general non-monic law is already written down
    (Cullinan, The discriminant of a composition), with hypotheses satisfied here
    since Res(h, x^2) = h(0)^2 = (l!)^4 != 0. Only the 4k(k+1) characterisation of
    the exceptional set appears to be unclaimed. The page is corrected.

    Method and code, as before: https://www.carlostoledo.co/reports/erdos290.html

  5. Woett commented on Sep 8, 2026

    @Woett
    ContributorAuthor

    Thanks for the effort! I only just saw your comments. Worth mentioning is that, last week (incidentally on the exact same day when you wrote that the third digit is now determined), I put out a preprint that proves that the liminf is actually equal to 1/(1+c). So the earlier constant of 1/(2c) is no longer relevant.

  6. carlostoledo1891 commented on Oct 6, 2026

    @carlostoledo1891

    Thank you, and congratulations on the theorem. It retires the 1/(2c) part of my third comment above, and it turns the bracket in my second comment into a bracket for the liminf itself:

    liminf (b(a) − a)/log a  =  1/(1+c)  ∈  [0.546083759260, 0.546323774021]
    

    Nothing is assumed about the tail. Every even d from 62 to 620 is determined exactly, and every δ(f_d) past d = 620 is charged the full interval [0, 1]. The one input still taken as given is the Magma computation in your proof of Lemma 32 (G_d ≅ S_l⁺ for even d ≤ 60 outside {8, 24, 48}).

    So the constant is 0.546… to three digits. With your Theorem 1, the 0.55 in your remark after it becomes 0.5464: there are infinitely many a < b < a + 0.5464 log a with v_{a,b} < v_{a,b−1}. A fourth digit would need either the tail assumption of my second comment (under which the value is 0.546229310400104587…) or a theorem confining δ(f_d) for large even d.

    On the issue's original aim: OEIS does not accept AI-generated submissions (CONTRIBUTING links the rule), and this computation is one. So I will not submit an entry myself; the digits and what each one rests on are here for anyone who does.

    Re-derive (~30 s): node tools/build-report-erdos290.js in https://github.com/carlostoledo1891/cert-machine. It re-proves the discriminant law, reproduces the original narrowing record byte for byte, and re-assembles the bracket in exact rationals from the 250 recorded densities (certs/erdos290-tail-ext.json). Write-up: https://carlostoledo.co/reports/erdos290.html

    AI-assisted: built with Claude (Anthropic) in a certified-arithmetic setting; every number above is read from the record, which is re-derived at every build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions