Experiment 286

“F16.4: small shifts at the known places, per crib run and per carved line, maximised over the plain and KRYPTOS tables and both forms, a statistic fixed before looking; K4 against 10,000 shuffles”

F16.4 (issue #123). 0029 tested Bean's closeness by the largest shift over all 24 known places, which one far letter spoils; the step-back review saw that under the plain table EASTNORTHEAST forces BLZCDCYYGCKAZ, 10 of 13 shifts within 3. Here the statistic counts shifts within 3 in groups (each crib run, each word, each carved line's share of the known places, all 24, the 20 official), scores each count by its binomial tail at 7/26, and takes the best over groups, tables and forms; the same maximum on 10,000 shuffles of K4 gives the p.

revertedstatus
experiment 29parents
2 mintime, all phases
0candidates
0/24known letters
1

The experiment method

What the method does with the 24 known letters.

Under the plain VigenereVigenere The three rules of arithmetic a table can use: add the key letter to the message letter, subtract the message letter from the key letter, or subtract the key letter from the message letter. table, most of EASTNORTHEAST's letters sit only one to three places from the carved lettersthe carved letters The 97 letters cut into the copper at the CIA, shown at the top of every experiment page. above them. That could mean a key of small numbers, or one that changes line by line on the copper. We fix one measure of 'how many small shifts in a group' before looking, take its best value on K4, and see how often scrambled copiesa shuffled control The same experiment run on the carved letters shuffled into a random order. of K4 do as well.

Words in the margin are defined on the glossary page.

1.1

The method at work

The carved letters go in at the top; the reading comes out at the bottom.

OBKRUOXOGHULBSOLIFBBWEASTNORTHEASTOTWTQSJQSSEKZZWATJKLUDIAWINFBBERLINCLOCKWGDKZXTJCDIGKUHUAUEKCARplaces 22-34 (EASTNORTHEAST), plain table: is the carved letter within 3 alphabet steps of the known letter? (10 of 13)within 3 stepsfurtherplaces 64-74 (BERLINCLOCK), plain table: is the carved letter within 3 alphabet steps of the known letter? (2 of 11)within 3 stepsfurtherthe best group, table and form on K4 (10 of 13 at 22-34) against 10,000 shuffles treated the same way: 64 at or above, p 0.0065EASTNORTHEASTBERLINCLOCKIN: THE COPPER, ALL 97 LETTERS, THE 24 KNOWN PLACES IN ACCENTOUT: NO READING; A PATTERN IN THE SHIFTS, TO REPLICATE
the statistic

For each group of known places (the two runs, the four words, the carved lines, all 24, the 20 official), table and form: how many shifts are 3 steps or fewer, scored by how rare that count is by chance. The best score is kept.

K4

The best is places 22-34 on the plain table: 10 of 13 shifts within 3 (key BLZCDCYYGCKAZ). BERLINCLOCK shows nothing (2 of 11).

against shuffles

64 of 10,000 shuffles reach K4's score by some group, table and form: p 0.0065, under the line of 0.01 set before the run.

caution

The cut-off of 3 steps was chosen after the review had seen K4's shifts, so this p is too small by that choice. Replicated with every cut-off 1-6 in 0287 before anything is built on it.

2

Experiment lineage

What this experiment was built on, from the lineage page: 3 experiments before it, back to the root of its line. Its number is in bold.

kept reverted, in its family's colour ×error or timeout reverted under today's rules built on a parent in the same family built on a parent in another family
3

Best candidate against the known letters

This experiment produced no candidate: the search ruled everything out before a full text was built. Its product is the bounded negative under Result and bounds below.

4

Walkthrough, by hand

Redo the method on a few letters with pencil and paper.

  1. Under each known letter of EASTNORTHEAST write the carved letter above it.
  2. Count how many alphabet steps separate them (E to F is 1, A to L is 11, S to R is -1).
  3. Mark the steps of size 3 or less: 10 of the 13.
  4. Ask how likely 10 or more of 13 is when each has a 7 in 26 chance: about 1 in 5,000.
  5. Do the same for every group, table and form, keep the best, and compare with scrambled copies of K4 treated the same way.
the worksheet: the first steps by hand, on squared paper
groupsmall shiftstable, formscorerun 22-3410 of 13std/std vig3.61run 64-744 of 11kry/kry beau0.47EAST3 of 4std/std vig1.21NORTHEAST7 of 9std/std vig2.67BERLIN2 of 6std/std beau0.29CLOCK2 of 5std/kry vig0.39line 3 (64-66)1 of 3std/std vig0.21line 4 (67-74)3 of 8kry/std vig0.43all 2412 of 24std/std vig1.87official 209 of 20std/std vig1.20K4's best score 3.61; shuffles' median 1.444, 99th percentile 3.419; 64 of 10,000 at or above: p 0.0065 (line 0.01).Plants as expected 5 of 5. Replicated in 0287.K4'S BEST COUNT OF SHIFTS WITHIN 3, PER GROUP (OVER TABLES AND FORMS)
5

Worked example, generated

The same steps run by the code on the real letters.

plain table, Vigenere: shift = carved - known, as -13..12

place known carved shift small
   22     E      F     1  yes
   23     A      L    11  
   24     S      R    -1  yes
   25     T      V     2  yes
   26     N      Q     3  yes
   27     O      Q     2  yes
   28     R      P    -2  yes
   29     T      R    -2  yes
   30     H      N     6  
   31     E      G     2  yes
   32     A      K    10  
   33     S      S     0  yes
   34     T      S    -1  yes

10 of 13 small; P(>= 10 of 13 at 7/26) = 2.47e-04
6

Hypothesis, for a cryptanalyst

Family, key space, the constraint under test, and the clues it reads.

Bean's closeness (04-structure.md, 'The minor differences'; Materna; bean-2018-kryptos-thoughts.txt): the carved letter sits near the known letter on the standard alphabet, read by Bean as a cipher alphabet near the standard one (Gromark-like). A Gronsfeld key of small digits, or a key that changes by carved line (C27(b), the 31-letter lines of the BERLIN chart; Sanborn's 'positioning'), would leave runs of small shifts. Definition, fixed before any count: forced key k = A_c(c) - A_p(p) (Vigenere) or A_c(c) + A_p(p) (Beaufort), mod 26 as -13..12, tables (A_p, A_c) in {standard, KRYPTOS}^2; a shift is small when |k| <= 3 (chance 7/26). Groups: 22-34, 64-74, each word (EAST, NORTHEAST, BERLIN, CLOCK), carved lines 2 (22-34), 3 (64-66) and 4 (67-74), all 24, the 20 official. Score per group: -log10 P(Binomial(n, 7/26) >= count). T = max over 8 table-form pairs x 10 groups. p = share of 10,000 shuffles with T at or above K4's. Flag at p < 0.01: then rows for line-keyed schemes.

7

Prediction

Written before the run; the result decides it.

K4's T comes from 22-34 under the plain table (10 of 13 small); the shuffles reach it often enough that p is above 0.01 (the closeness is one of many patterns a 97-letter text can show somewhere). No candidates.

8

Method

  1. For each of the 8 table-form pairs, the forced key at the 24 known places, as -13..12.
  2. Count |k| <= 3 in each of the 10 groups; score by the binomial tail at 7/26.
  3. T = the best score.
  4. The same on 10,000 shuffles of K4 (seed 16400).
  5. p = (1 + shuffles at or above) / 10,001.
  6. Report the best group, table and form for K4, and the per-group p's as diagnostics only.
  7. Plants: four messages with small shifts (whole text, one carved line) and one without, each against 2,000 shuffles of its own.
9

Result and bounds

The harness's record: candidates, gates, loss, and the negative result this experiment leaves behind.

0candidates returned
0passed every gate
0/24known letters, best
–lowest loss
nonechampion before

K4 T 3.607 from ('std', 'std', 'vig', 'run 22-34', 10, 13); 64 of 10000 shuffles at or above, p 0.0065 (flag below 0.01: True); plants as expected 5/5

What was searched, as the harness recorded it.

item
F16.4
statistic
T = max over (plain table, cipher table) in {std, KRYPTOS}^2, form in {Vigenere, Beaufort}, group in 10 groups of -log10 P(Binomial(n, 7/26) >= count of |k| <= 3)
groups
run 22-34
22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34
run 64-74
64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74
EAST
22, 23, 24, 25
NORTHEAST
26, 27, 28, 29, 30, 31, 32, 33, 34
BERLIN
64, 65, 66, 67, 68, 69
CLOCK
70, 71, 72, 73, 74
line 3 (64-66)
64, 65, 66
line 4 (67-74)
67, 68, 69, 70, 71, 72, 73, 74
all 24
22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74
official 20
26, 27, 28, 29, 30, 31, 32, 33, 34, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74
k4 T
3.607
k4 argmax
std, std, vig, run 22-34, 10, 13
shuffles
10,000
shuffles at or above
64
p
0.006
flag line
0.01
flag
yes
shuffle T quantiles
0.5
1.444
0.9
2.28
0.99
3.419
0.999
3.724
k4 per group
run 22-34
best score
3.607
table form count
std, std, vig, run 22-34, 10, 13
run 64-74
best score
0.467
table form count
kry, kry, beau, run 64-74, 4, 11
EAST
best score
1.206
table form count
std, std, vig, EAST, 3, 4
NORTHEAST
best score
2.666
table form count
std, std, vig, NORTHEAST, 7, 9
BERLIN
best score
0.292
table form count
std, std, beau, BERLIN, 2, 6
CLOCK
best score
0.39
table form count
std, kry, vig, CLOCK, 2, 5
line 3 (64-66)
best score
0.215
table form count
std, std, vig, line 3 (64-66), 1, 3
line 4 (67-74)
best score
0.432
table form count
kry, std, vig, line 4 (67-74), 3, 8
all 24
best score
1.874
table form count
std, std, vig, all 24, 12, 24
official 20
best score
1.201
table form count
std, std, vig, official 20, 9, 20
plants
  1. what
    small digits 0-3, period 7, plain table, whole text
    T
    13.677
    argmax
    std, std, vig, all 24, 24, 24
    p
    0.001
    found
    yes
    should be found
    yes
  2. what
    small digits 0-3, period 5, KRYPTOS table, whole text
    T
    13.677
    argmax
    kry, kry, vig, all 24, 24, 24
    p
    0.001
    found
    yes
    should be found
    yes
  3. what
    small digits on carved line 2 (places 5-35) only, a random key elsewhere
    T
    7.408
    argmax
    std, std, vig, run 22-34, 13, 13
    p
    0.001
    found
    yes
    should be found
    yes
  4. what
    Beaufort, small key values on carved line 4 (places 67-97) only
    T
    4.779
    argmax
    std, std, beau, run 64-74, 10, 11
    p
    0.001
    found
    yes
    should be found
    yes
  5. what
    a random key everywhere (must not be found)
    T
    1.444
    argmax
    std, kry, vig, run 22-34, 7, 13
    p
    0.532
    found
    no
    should be found
    no
plants as expected
5 of 5
controls
10000 shuffles of K4, seed 16400
exhaustive
yes
aws cost estimate dollars
0.02

How this experiment sits among the others is on the lineage page; its family's open hypotheses are on the families page.

Rendered from the record on 2026-11-19 10:56 UTC; updated after every experiment.
view on GitHub