A Grain-Bank Ledger That Catches Its Own Mistakes: Check Digits, Cross-Casts, and the Errors That Still Get Through

A grain bank keeps its members' balances in a handwritten ledger, and a single copying error can take grain from one family and give it to another. This paper designs a checking scheme that a clerk can run with pencil and paper and computes what it catches. Each member receives a five-digit account number whose final digit is a modulo-11 check digit computed from the first four digits with weights 5, 4, 3, and 2; account payloads that would require a check value of 10 are not issued, which removes 909 of 10000 payloads (9.09 percent) and leaves 9091 issuable accounts. Exhaustive enumeration over every issued account finds that the check digit catches all 409095 possible single-digit substitutions (100.0 percent) and all 32728 possible adjacent transpositions (100.0 percent). Amounts are controlled separately by cross-casting each 25-entry page, comparing column totals against the page net computed from the rows. Under a stated clerk-error model totalling 27.0 errors per 1000 entries, the combined scheme leaves 1.56 undetected errors per 1000 entries, detects 94.22 percent of all errors, and improves on an unchecked book with member-spotting alone (21.6 undetected per 1000 entries) by a factor of 13.84. The residual is dominated by one class the scheme cannot see: a whole entry omitted from the book altogether contributes 0.0015 of the 0.00156 undetected probability per entry. The scheme costs 17.5 extra seconds per entry, or 291.7 minutes per 1000 entries, nearly half of which is time spent resolving pages that the checks flag, which happens for 47.49 percent of pages. All results are simulated, not measured.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-10
DOI
https://doi.org/10.5281/zenodo.24114666
Primary Topic
Coding theory and cryptography
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

A Grain-Bank Ledger That Catches Its Own Mistakes: Check Digits, Cross-Casts, and the Errors That Still Get Through

William Alexander Aldred
Zenodo (CERN European Organization for Nuclear Research)
Coding theory and cryptography
article

A Grain-Bank Ledger That Catches Its Own Mistakes: Check Digits, Cross-Casts, and the Errors That Still Get Through

William Alexander Aldred
article en

Abstract

A grain bank keeps its members' balances in a handwritten ledger, and a single copying error can take grain from one family and give it to another. This paper designs a checking scheme that a clerk can run with pencil and paper and computes what it catches. Each member receives a five-digit account number whose final digit is a modulo-11 check digit computed from the first four digits with weights 5, 4, 3, and 2; account payloads that would require a check value of 10 are not issued, which removes 909 of 10000 payloads (9.09 percent) and leaves 9091 issuable accounts. Exhaustive enumeration over every issued account finds that the check digit catches all 409095 possible single-digit substitutions (100.0 percent) and all 32728 possible adjacent transpositions (100.0 percent). Amounts are controlled separately by cross-casting each 25-entry page, comparing column totals against the page net computed from the rows. Under a stated clerk-error model totalling 27.0 errors per 1000 entries, the combined scheme leaves 1.56 undetected errors per 1000 entries, detects 94.22 percent of all errors, and improves on an unchecked book with member-spotting alone (21.6 undetected per 1000 entries) by a factor of 13.84. The residual is dominated by one class the scheme cannot see: a whole entry omitted from the book altogether contributes 0.0015 of the 0.00156 undetected probability per entry. The scheme costs 17.5 extra seconds per entry, or 291.7 minutes per 1000 entries, nearly half of which is time spent resolving pages that the checks flag, which happens for 47.49 percent of pages. All results are simulated, not measured.

Zenodo (CERN European Organization for Nuclear Research)
Coding theory and cryptography
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon