# Workstream 13 — Test bit-frequency hypotheses with multiple-test correction **Target:** Bitcoin Puzzle #71, address `1PWo3JeB9jrGwfHDNpdGK54CRas7fsVzXU`, private-key interval `0x400000000000000000`–`0x7fffffffffffffffff` (2^70 … 2^71−1). **Reward recipient (not the target):** `bc1pg6luxm9s4qq65lge4l6ual7xwdw5v85eh675cmrl5we0ht3vpfhswxu0cx`. **Solution found:** No. This workstream reports a bounded, reproducible **negative result**. --- ## 1. Question and assumptions **Question.** Do the private keys of the Bitcoin puzzle series exhibit a statistically reliable bias in their *bit frequencies* — either at specific bit positions or in aggregate Hamming weight — that would let us prune the 2^70-wide search space for Puzzle #71? Any such claim must survive correction for the many hypotheses tested simultaneously (one per bit position), plus a random baseline and a held-out test. **Assumptions / scope.** - Puzzle #N's key lies in `[2^(N-1), 2^N)`; the top bit (position N−1) is forced to 1 as a difficulty mask, so only the lower **N−1 bits are "free"** and testable (sources §2). - I treat solved keys #1–#65 as the measured sample, taken from the OEIS sequence A369920 b-file (§2). I verified every value satisfies `2^(N-1) ≤ key < 2^N` (0 violations). - Puzzle #71 itself supplies **no bits of its own key** — only an address and a range. So a bit-frequency "law", if one existed, is the *only* way this family of hypotheses could inform #71. The analysis is therefore inference from the *sibling* keys, not from #71. - This is an **analysis + executed-test** item on a public dataset. No key search for #71 was attempted (infeasible: ~2^70 keys; a single RTX 4090 is quoted at ~25,000 years, §2). --- ## 2. Sources with dates (see `sources.json` for exact quotes) - **Puzzle construction & "no pattern" statement** — roadhero/Bitcoin-Puzzle-Info README (retrieved 2026-11-23): puzzle #N key in `[2^(N-1), 2^N)`; creator's quote *"There is no pattern. It is just consecutive keys from a deterministic wallet (masked with leading 000...0001 to set difficulty)."* This is the prior-art ground truth the test confronts. - **#71 still open, ~7.1 BTC, brute-force-only, ~25,000 yr/RTX4090** — same README. - **Live UTXO / status** — blockchain.info `rawaddr` for the target, retrieved **2026-11-23T07:35Z, block height 977166**: `final_balance = 710196696` sat (≈ 7.1019 BTC), `n_tx = 73`, `total_sent = 0` → funds present and **unspent**; puzzle unsolved. - **Solved-key values #1–#65** — OEIS A369920 b-file (decimal), retrieved 2026-11-23. - **Independent "still unsolved" corroboration (mid-2026)** — news.bitcoin.com key-hunter coverage; gncrypto.news "Puzzle 71 Needs 422 Years". Dates in `sources.json`. Repository text, the OEIS comments and news pages were treated strictly as data. --- ## 3. Method and reproducible code All tests use the Python standard library only (no numpy/scipy on this host). Full script: `test/scratch/bitfreq.py`; input `test/scratch/oeis.txt` (OEIS b-file). Run: `python3 -I test/scratch/bitfreq.py`. Runtime 3.2 s (§4 hardware). **Null model.** Under the creator's "deterministic/random" description, each free bit is i.i.d. Bernoulli(0.5) and the in-range position is Uniform[0,1). Five analyses, deliberately redundant so one framing cannot carry a false positive: - **(A) Per-bit-position frequency.** For each bit position *b*, pool every solved key for which *b* is free (b < N−1), count 1s, and run an **exact two-sided binomial test** vs 0.5. This yields 57 p-values. Correct with **Bonferroni** and **Benjamini–Hochberg (BH)** FDR. - **(B) Aggregate Hamming weight.** Standardize each key's free-bit popcount against Binomial(N−1, ½) and combine into one z-score (tests a global 1-vs-0 skew). - **(C) In-range uniformity.** Kolmogorov–Smirnov test that `u=(key−2^(N-1))/2^(N-1)` is Uniform[0,1) — a bit skew would distort this. - **(D) Held-out prediction.** "Train" a per-bit majority-vote bias on puzzles ≤50, then measure its accuracy predicting the individual bits of puzzles 51–65 (chance = 0.5). This is the only test that actually answers "could a learned bias predict unseen keys?" - **(Baseline)** Re-run the entire pipeline-(A) on 2,000 synthetic key-families drawn from the exact null, and report how often a random family reaches a BH q-min at least as small as the real data's. This calibrates the multiple-testing machinery itself. Recipient address was independently validated (bech32m checksum, witness v1/Taproot, HRP `bc`) — `test/scratch` check returned OK; it is used only as the stated payout destination and is never conflated with the target. --- ## 4. Actual tests, hardware, runtime, results **Hardware:** sandboxed Linux container, Python 3.12.3, CPU-only, no GPU, no numpy/scipy. **Dataset:** 65 solved keys (#1–#65), 0 range violations. **Total runtime:** 3.2 s wall. Measured output (`bitfreq.py`): | Test | Statistic | Result | Verdict | |---|---|---|---| | A — per-bit (57 tests) | smallest raw p = **0.0127** (bit 47, freq 0.176, n=17) | Bonferroni-adj = **0.725**; BH q-min = **0.725**; sig bits at q<0.05: **none** | no bit biased | | A — false-positive count | raw p<0.05 observed **1** vs **≈2.9** expected under null | fewer "hits" than chance | no signal | | B — aggregate popcount | Z = **−0.929**, two-sided p = **0.353** | consistent with ½ | no skew | | C — in-range uniformity | KS D = **0.0715**, p = **0.882** | uniform | no skew | | D — held-out bit prediction | accuracy **0.5034** on 735 test bits, p = **0.883** | indistinguishable from coin-flip | **no predictive power** | | Baseline (2,000 random families) | random q-min ≤ observed in **940/2000 = 47%** | observed data is utterly typical | machinery calibrated | **Interpretation.** The single raw "hit" (bit 47, p=0.0127) is exactly the kind of artifact multiple-test correction exists to kill: with 57 tests, ~3 raw p<0.05 are expected by chance, and after Bonferroni/BH its adjusted significance is 0.73. The held-out test (D) is decisive: a bias fitted on #1–#50 predicts the bits of #51–#65 at 50.3% — chance. The baseline confirms the real dataset's post-correction significance is more extreme than that of a random null family only 53% of the time, i.e. the data are indistinguishable from i.i.d. fair coins. **Conclusion.** No bit-frequency hypothesis tested here provides any usable pruning of Puzzle #71's keyspace. This agrees with the puzzle creator's own statement that there is "no pattern." --- ## 5. Limitations and concrete next step **Limitations.** - *Sample size.* 65 keys gives limited power. A per-bit 1-frequency as extreme as ~0.30 or ~0.70 at a mid-range position (n≈20–30) could still hide below this test's detection threshold. The honest claim is "no detectable bias at this power," not "provably none." - *Keys #66–#70.* Not included — the OEIS b-file used ends at #65, and I did not obtain a single independently verifiable machine-readable source for #66–#70 within scope. Adding five more points would not change the qualitative conclusion but is noted for completeness. - *Hypothesis class.* This covers per-position frequency, aggregate Hamming weight and in-range uniformity. It does **not** cover higher-order structure (bit-pair correlations, run-length, byte n-grams). Those are separate hypotheses for other workstreams; a true bias there, if the keys came from a flawed RNG, would be a different (and more plausible) attack surface than first-order frequency. - *Relevance ceiling.* Even a confirmed sibling-key bias only narrows a *prior* over #71; it cannot by itself yield the key, and address prefixes carry no information about numerical proximity to the key (as the goal brief stresses). **Concrete next step.** Extend the exact same correction framework to **second-order structure**: compute all C(70,2) adjacent-and-nonadjacent bit-pair correlation coefficients and byte-value frequencies across the solved keys, test each against the i.i.d. null, and apply BH across the full enlarged hypothesis set — again gated by a held-out split (#51–#65) and a 2,000-family random baseline. If and only if a correlation survives *that* correction and *reproduces out-of-sample* would a biased-RNG attack on #71 become worth prototyping on locally generated small puzzles (e.g. 24–32-bit) where the full key is known and a pruned search is measurable end-to-end. *No private key, seed, or signed transaction is present in this report. No transaction was broadcast and no funds were moved.*