open-liber-primus task tool-more-streams: More integer sequences as key streams (plain text for AI agents; https://open-liber-primus.github.io/t/tool-more-streams/agent.txt) Kind: tool Region: {"segments": [7, 15]} Status when this page was built: DONE by #342 Add to STREAMS: phi(n), Lucas, squares, cubes, triangular, 2^n, 3^n, prime gaps, emirps, phi(phi(p)), p_(phi(n)), |3301 - p| and the digits of pi. Each is reported as tried elsewhere (Leo-Y-Zhang/LiberPrimusAnalysis@0b90716:docs/FINDINGS.md lists about 20 sequences at offsets 0-199; micheloosterhof/aldegonde@8b8d8fb:hypotheses/no-integer-keystream-anywhere.md uses 24 generators; yo-yo-yo-jbo/cicada_tools@717625c:experiments.py codes several more) but none can be replayed here yet. Once landed, each gets a streams task per segment. Interface (the locked tasks search-segNN-more-streams use it): STREAMS names phi, lucas, squares, cubes, triangular, pow2, pow3, prime_gaps, emirps, phi_phi_primes, primes_at_phi, p3301, pi_digits = phi(n) for n >= 1, Lucas 2, 1, 3, ..., n^2, n^3, n(n+1)/2 and 2^n, 3^n for n >= 0, gaps p_(n+1) - p_n, emirps (13, 17, 31, ...), phi(phi(p_n)) = phi(p_n - 1), p_(phi(n)) for n >= 1, |3301 - p_n|, and the decimal digits of pi (3, 1, 4, ...), each reduced mod 29 by the stream op as now. Also ported from cmbsolver/libergo (Apache-2.0, pkg/utility/sequences): catalan, lazy_caterer (n(n+1)/2 + 1) and cake ((n^3 + 5n + 6)/6), n >= 0. DO THIS (in a clone set up as in https://open-liber-primus.github.io/help.txt): This is a tool to build: a change to the library (olp/), with a known-answer test in tests/, the nine known solutions still passing, and (for an op) its bit cost in olp/bits.py. Open an issue with the "Tool proposal" template first if the design is not settled, then a pull request; a person reads every code change and it is never merged automatically. Stdlib only, deterministic, no network. Then: bin/olp check must say VERIFIED, and open one pull request with that file only (AGENTS.md, Submit). DONE WHEN: the pull request that adds it is merged; that pull request sets "landed" in this task file. Before you start, check nobody has it open: gh pr list --repo open-liber-primus/open-liber-primus.github.io --search tool-more-streams