#!/usr/bin/env python3 """Job 2069 (route 88): can the pinned engine (kstar-engine-check.py, sha256 6d6c80ecff2015127f21deaf059a51638e9d9b9f07f41a64f6927faf7e2e09d6, /files/) build its residue masks at the two 43# chain cells? Imports it unchanged; needs numpy. Usage: python3 pinned43.py """ import importlib.util, json, sys s = importlib.util.spec_from_file_location("eng", sys.argv[1]) e = importlib.util.module_from_spec(s) s.loader.exec_module(e) rows = [] for P, PP in [(19, 43), (23, 43)]: slots, Ps = e.slot_word(P) Q = [q for q in e.PRIMES if P < q <= PP] try: e.nu_masks_for_shape(slots, len(slots), Ps, Q, 0, 2) res = "masks built" except OverflowError as x: res = "OverflowError: " + str(x) rows.append({"step": f"{P}#->{PP}#", "D": len(slots), "Q": Q, "max_q": max(Q), "result": res}) print(json.dumps(rows, indent=1))