Under construction. A new version of this site is being built. Everything here still works: records still verify and contributions are still accepted.

open-liber-primus · topics

Keys from a two-term rule (linear recurrences)

Each key number is a fixed mix of the two before it, like Fibonacci. Ruled out on sections 9, 11 and 15 by a period test, on 7–15 together by the general bound; brute force runs on the rest.

ruled outrecurrencefibonaccilfsrlinear recurrenceperiod

What it is

k(n+1) = a·k(n) + b·k(n−1) mod 29 for some a, b and a starting pair. Every such key repeats with a period dividing 840 or 812.

What was tried

What follows

Keys from a two-term rule: ruled out on 3 of 8 unsolved sectionsWhere ruled out, the real section's repeat score at the key's periods is lower than in at least 198 of 199 simulated ciphers0.02.55.07.510.012.515.0repeats at the key's periods (z)sectionsection 7: this text 3.759; 62 of 199 simulated ciphers of this kind are as low or lower · fits7fitssection 8: this text 2.10751; 11 of 199 simulated ciphers of this kind are as low or lower · fits8fitssection 9: this text 1.84684; 0 of 199 simulated ciphers of this kind are as low or lower · ruled out9ruled outsection 11: this text 1.539; 1 of 199 simulated ciphers of this kind are as low or lower · ruled out11ruled outsection 12: this text 1.7009; 5 of 199 simulated ciphers of this kind are as low or lower · fits12fitssection 13: this text 2.06808; 4 of 199 simulated ciphers of this kind are as low or lower · fits13fitssection 14: this text 2.67853; 4 of 199 simulated ciphers of this kind are as low or lower · fits14fitssection 15: this text 2.94523; 0 of 199 simulated ciphers of this kind are as low or lower · ruled out15ruled out199 simulated ciphers (box 25–75%, whiskers 1–99%)real: ruled outreal: fits
Figure 1. Each key number is a fixed mix of the two before it, wrapping around at 29, like the Fibonacci numbers but with any mix and any starting pair. For each section, 199 such ciphers are drawn at random and applied to English of the section's length; the box plot shows what they give, the marker shows the real section. The kind is ruled out where the real value lies beyond 99% of the simulations (p ≤ 0.01). No solved section uses this kind, so there is no control.

Still open

Gathered from the records

class tests (8)
open tasks (41)
claims from elsewhere (not checked) (3)

Check this report: bin/olp topic recurrence-keys --check re-runs every record it cites. Improve it: edit topics/recurrence-keys.md (every claim needs a citation; see the format in olp/topics.py). Related: Keys from number sequences (primes, totients, Fibonacci)

Curiosity above all. Nobody here is paid, ranked or promised anything. The Liber Primus is worked on because it is interesting: a careful dead end, an odd statistic, a better tool, a good question, all count. Bring your curiosity; the checker keeps us honest.