Short programs for multiples of n!: exact values for 24 ≤ n ≤ 27 and upper bounds for 28 ≤ n ≤ 1030
OEIS A217031 asks for the fewest additions, subtractions and multiplications that turn 1 into a nonzero multiple of n! (each step combines two numbers already made). The sequence matters because polylogarithmic growth would make the factorial "ultimately easy" in the sense of Shub and Smale, with consequences for algebraic complexity and, by Lipton's argument, for integer factoring. A217031 lists a(1) to a(23); Markström (Integers 14, 2014) gives bounds up to n = 46. Results. Exact values a(24) = a(25) = a(26) = a(27) = 12. Upper bounds for every n from 28 to 388, each reached by an explicit program: for example 13 for n = 28 and 29, 14 for 30 to 35, 15 for 36 to 42, 16 for 43 to 46, 21 for 61 to 66, 27 for 83 to 130, and 59 for 333 to 388. New in version 2: upper bounds for every n from 389 to 1030: 77 for 389 to 520, 88 for 521 to 642, 101 for 643 to 768, and 131 for 769 to 1030. These improve Markström's published upper bounds for 24 ≤ n ≤ 46 and contradict his stated lower bound of 14 at n = 28 and 29. Checking. Every program was re-run in exact integer arithmetic by an independent script (included), which reproduces A217031's listed values for n = 2 to 23. A separate reviewer re-checked all 365 programs with their own code. The upper bounds for n ≥ 28 are not claimed to be optimal, and values this small say nothing reliable about asymptotic growth. This exact check covers the 365 programs of version 1; the four larger programs added in version 2 are checked as described under Files. Files. note.pdf (two-page note), a217031-bounds.txt (lower bound, upper bound and program for each n from 24 to 388), code.zip (search and checking code, MIT licence), README.txt (how to re-check the data). Version 2 adds a217031-bounds-389-1030.txt (n from 389 to 1030) and check_large.py in code.zip, which checks those programs, too large to evaluate exactly, by exact divisibility modulo p^v_p(n!) for every prime p ≤ n. Citing. To cite all versions, use the concept DOI 10.5281/zenodo.24704648; this version is 10.5281/zenodo.24726412. Correction: note.pdf, README.txt and the data file headers in this version call 10.5281/zenodo.24704651 the concept DOI; that is the DOI of version 1. Credit. The 12-step program behind a(24) = a(25) = a(26) = a(27) = 12 is, up to signs, the 12-step computation already given in the EXAMPLE section of OEIS A217031 (Gil Dogon, 2013), where it is used to show a(23) <= 12. Its last value is also divisible by 27!, which gives these four values; that observation is the new part. The note should have said so.
Authors
- Suleman Ahmed Siddiqui (ORCID: https://orcid.org/0009-0008-1480-898X)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24704648
- Primary Topic
- Advanced Combinatorial Mathematics
- Type
- preprint