What does Agarwood Volatiles and Olfactory Adaptation conclude, in numbers, about “A Trillion Smells? Re-deriving the Bushdid Estimator and Its Two Rebuttals”?

Answer: Chapter 1 reproduces digit for digit the 2014 estimate of 1.72 × 1012 by Bushdid and colleagues and sets the rebuttals of Gerkin and Castro and of Meister beside the original authors' case: the same formula can give anything from 4.56 × 103 to 1.54 × 10^29; holding one nose fixed and adding tests lifts the estimate from 10 to the power 15.27 to the power 26.15; a one-dimensional model that separates only 9 odours is credited with 10 to the power 18.19. The extrapolation fails and the number remains unknown.

Scope of the numbers: Its rooms, wood, heaters and adaptation parameters are illustrative; all calculations are generated by its programs; it is general rather than individualised business guidance, does not discuss health effects and is not medical advice. Marked boxes separate published evidence, runnable Python calculations (21 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: 1.54, 1.72, 10, 12, 29, 4.56

N overlap swaps r z = discriminable mixtures
100.5117 2.441 9.37*10^7
100.5743 2.128 4.01*10^8
200.5117 4.883 1.12*10^11
200.5743 4.257 1.55*10^12
300.5117 7.324 1.72*10^12
300.5743 6.385 5.58*10^13
N30, r = 0 (any difference noticed): 1.54*10^29
N30, r = 15 (only disjoint pairs): 4.56*10^3
library 128256 at the same overlap: x 1.43*10^7
Crocker-Henderson code space 9^46561
least sensitive subject 7.84*10^7: implied overlap 0.2965
most sensitive subject 1.03*10^28: implied overlap 0.9774
Show the full program
# Chapter 1. p11: re-deriving the "one trillion odours" estimate.
# Model (Bushdid et al. 2014, Science): C = 128 molecules, mixtures of
# N components. If two mixtures that differ in a fraction f of their
# components are just discriminable, each discriminable mixture owns a
# Hamming-type ball of radius r = N f / 2 (r swaps), and the number of
# discriminable mixtures is z = binom(C, N) / ball(r). The ball is
# summed over integer r and interpolated log-linearly in between.
# Overlap thresholds 51.17 % and 57.43 % are the published values; the
# two extreme rows (r = 0, r = N / 2) are the bounds quoted by Gerkin &
# Castro (2015, eLife). Crocker-Henderson: 4 qualities x 9 levels.
# The published per-subject extremes for N = 30 (7.84*10^7 and
# 1.03*10^28) are inverted to the overlap each subject implies.
import math

C = 128


def ball(n, c, r):
    terms = [math.comb(n, k) * math.comb(c - n, k) for k in range(r + 1)]
    return math.fsum(terms)


def log10_z(n, c, r_real):
    total = math.log10(math.comb(c, n))
    lo = int(math.floor(r_real))
    hi = min(lo + 1, n // 2)
    a = total - math.log10(ball(n, c, lo))
    b = total - math.log10(ball(n, c, hi))
    w = r_real - lo
    return a + (b - a) * w


def sci(lg):
    e = int(math.floor(lg))
    m = 10 ** (lg - e)
    if m >= 9.995:
        m, e = m / 10, e + 1
    return "{:.2f}*10^{}".format(m, e)


print("N   overlap   swaps r   z = discriminable mixtures")
for n in (10, 20, 30):
    for ov in (0.5117, 0.5743):
        r = n * (1 - ov) / 2
        print("{:2d}  {:7.4f}  {:7.3f}   {}".format(
            n, ov, r, sci(log10_z(n, C, r))))
print("N = 30, r = 0 (any difference noticed): {}".format(
    sci(log10_z(30, C, 0))))
print("N = 30, r = 15 (only disjoint pairs):   {}".format(
    sci(log10_z(30, C, 15))))
r30 = 30 * (1 - 0.5117) / 2
gain = log10_z(30, 2 * C, r30) - log10_z(30, C, r30)
print("library 128 -> 256 at the same overlap: x {}".format(sci(gain)))
print("Crocker-Henderson code space 9^4 = {}".format(9 ** 4))


def overlap_for(lg_target, n=30):
    lo, hi = 0.0, n / 2
    for _ in range(60):
        mid = (lo + hi) / 2
        if log10_z(n, C, mid) > lg_target:
            lo = mid
        else:
            hi = mid
    return 1 - 2 * lo / n


for label, lg in (("least sensitive", math.log10(7.84e7)),
                  ("most sensitive", math.log10(1.03e28))):
    print("{} subject {}: implied overlap {:.4f}".format(
        label, sci(lg), overlap_for(lg)))

Single source and citation

Fan, Y. (2026). Agarwood Sesquiterpene Volatilisation, Combinatorial Olfactory-Receptor Coding and the Time Constant of Olfactory Adaptation (Version 1.0.0), Chapter 1: A Trillion Smells? Re-deriving the Bushdid Estimator and Its Two Rebuttals. 5D Library. DOI pending

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

BibTeX
@book{fan2026205,
  author    = {Fan, Yafu},
  title     = {Agarwood Sesquiterpene Volatilisation, Combinatorial Olfactory-Receptor Coding and the Time Constant of Olfactory Adaptation},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book