What does Benford's Law and Ledger Audits conclude, in numbers, about “Where the First-Digit Law Comes From: Uniform Mantissae, Scale Invariance and Multiplicative Chains”?

Answer: Chapter 1 explains the law through uniform mantissae, scale invariance and multiplicative chains; the expected share of a leading 1 is 0.30103.

Scope of the numbers: Its parameters are illustrative; all calculations are generated by its programs; the book is not legal advice and not personalised business advice, and test results are only signals for review. Marked boxes separate published evidence, runnable Python calculations (20 programs), classical sources and the author's hypotheses.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.30103

digitP(first)x uniformP(second)
0--0.11968
10.301032.7090.11389
20.176091.5850.10882
30.124941.1240.10433
40.096910.8720.10031
50.079180.7130.09668
60.066950.6030.09337
70.057990.5220.09035
80.051150.4600.08757
90.045760.4120.08500
mean first digit 3.440 (uniform 5.000); mean second 4.187 (4.500)
P(first digit is 1 or 2) = 0.47712; P(7, 8 or 9) = 0.15490
first-two digits: P(10) = 0.04139, P(99) = 0.00436, ratio 9.48
second digit: P(0)/P(9) = 1.408; first digit: P(1)/P(9) = 6.579
check: totals 1.000000000 1.000000000 1.000000000
Show the full program
# Chapter 1. p11: what Benford's law expects of the first two digits.
# Model: P(D1 = d) = log10(1 + 1/d) for d = 1..9;
# P(D2 = k) = sum over j = 1..9 of log10(1 + 1/(10 j + k)), k = 0..9;
# P(D1D2 = n) = log10(1 + 1/n) for n = 10..99.  Exact formulas, no data.
# Only the law's own expectations; no ledger is involved.
import math

P1 = [math.log10(1 + 1 / d) for d in range(1, 10)]
P2 = [math.fsum(math.log10(1 + 1 / (10 * j + k)) for j in range(1, 10))
      for k in range(10)]
P12 = {n: math.log10(1 + 1 / n) for n in range(10, 100)}

print("digit  P(first)  x uniform  P(second)")
print("    0         -          -    %.5f" % P2[0])
for d in range(1, 10):
    print("    %d   %.5f      %.3f    %.5f"
          % (d, P1[d - 1], P1[d - 1] * 9, P2[d]))
m1 = math.fsum(d * p for d, p in zip(range(1, 10), P1))
m2 = math.fsum(k * p for k, p in zip(range(10), P2))
print("mean first digit %.3f (uniform 5.000); mean second %.3f (4.500)"
      % (m1, m2))
print("P(first digit is 1 or 2) = %.5f; P(7, 8 or 9) = %.5f"
      % (P1[0] + P1[1], math.fsum(P1[6:])))
print("first-two digits: P(10) = %.5f, P(99) = %.5f, ratio %.2f"
      % (P12[10], P12[99], P12[10] / P12[99]))
print("second digit: P(0)/P(9) = %.3f; first digit: P(1)/P(9) = %.3f"
      % (P2[0] / P2[9], P1[0] / P1[8]))
print("check: totals %.9f %.9f %.9f"
      % (math.fsum(P1), math.fsum(P2), math.fsum(P12.values())))

Single source and citation

Fan, Y. (2026). Benford's First-Digit Law, Ledger Fraud Detection and Chi-Square Audits of Buying-Agent Cash Flows and Expense Claims (Version 1.0.0), Chapter 1: Where the First-Digit Law Comes From: Uniform Mantissae, Scale Invariance and Multiplicative Chains. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-216 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026216,
  author    = {Fan, Yafu},
  title     = {Benford's First-Digit Law, Ledger Fraud Detection and Chi-Square Audits of Buying-Agent Cash Flows and Expense Claims},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book