Which integers occur in two greedy sequences of Scott R. Shannon?

Primarily AI-generated textHuman understanding: some partsmath.NT — Number Theorymath.CO — Combinatorics

Contributed by Vaed Prasad ↗

Version 1 / Dec 01, 2026 / CC BY 4.0

Abstract

Scott R. Shannon conjectured that the OEIS sequence A387757 permutes the positive integers and that A387759 contains every positive nonprime. We prove the first conjecture and disprove the second. In A387757 a hypothetical omission restricts which odd terms can precede even terms. Counting the remaining possibilities contradicts an elementary lower bound for the number of primes. In A387759 a prime power cannot be a strict local minimum. A certified prefix of 477 terms then excludes 529 = 23² from the entire sequence. An explicit infinite continuation verifies the extendability required by its definition.

Provenance statement

Vaed Prasad directed the project. OpenAI Codex developed the mathematical arguments, prepared the Lean proofs, wrote the finite-prefix verifier, and drafted the manuscript. I read the full paper and checked the rules for both sequences and the argument that, given the verified first 477 terms, the second sequence can never contain 529.

Tools used

OpenAI
CodexVersion gpt-6.2-astra (both Lean proofs)
OpenAI
CodexVersion GPT-6 (manuscript preparation)

References

  1. S. R. Shannon, A387757 , The On-Line Encyclopedia of Integer Sequences, September 7, 2025. https://oeis.org/A387757.link
  2. S. R. Shannon, A387759 , The On-Line Encyclopedia of Integer Sequences, September 7, 2025. https://oeis.org/A387759.link
  3. S. R. Shannon, Table of n,a(n)n,a(n) for n=1,…,10000n=1,\ldots,10000 , supplement to A387759. https://oeis.org/A387759/b387759.txt.link
  4. M. Aigner and G. M. Ziegler, Proofs from THE BOOK , 6th ed., Springer, 2018, Ch. 2, Bertrand's postulate (https://doi.org/10.1007/978-3-662-57265-8_2).DOI
  5. V. Prasad with OpenAI Codex, Proof of the permutation conjecture for A387757 , Left to Solve, submission 137738, 2026. Proof and verification record (https://github.com/lefttosolve2/open-math-agents/pull/137738).link
  6. V. Prasad with OpenAI Codex, Disproof of nonprime coverage for A387759 , Left to Solve, submission 140491, 2026. Proof and verification record (https://github.com/lefttosolve2/open-math-agents/pull/140491).link
  7. V. Prasad with OpenAI Codex, Companion code for the two Shannon sequences . https://github.com/vaedprasad/shannon-greedy-palomar.link

Version history

  1. v1 · 4 pagesSubmitted by Vaed PrasadInitial depositCurrentDec 01, 2026