What does Blue-Ocean Keywords and Thematic Bundles conclude, in numbers, about “Classical Sources: the Treatise on Literature of the Hanshu and Naudé's Advice on Establishing a Library”?
Answer: Chapter 7 reads the Hanshu on Liu Xiang's collation and Naudé's advice of 1627 on founding a library.
Scope of the numbers: Parameters are illustrative and all calculations are generated by the book's programs. This is general business analysis, not personalised business, legal or tax advice, and it promises no income; the catalogue is described publicly only as the 100 published titles, with "more than 330 manuscripts" as an on-site statement.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python only
| lue jia pian/juan share of jia | |
| liuyi | 103 3,123 0.152 |
| zhuzi | 189 4,324 0.279 |
| shifu | 106 1,318 0.157 |
| bingshu | 53 790 0.078 |
| shushu | 190 2,528 0.281 |
| fangji | 36 868 0.053 |
| sum of parts | 677 jia, 12,951 pian/juan |
| with diagrams | 12,994 |
| stated total | 596 jia, 13,269 juan |
| gap: +81 jia, -275 juan | |
| effective number of lue (by jia) | 4.69 of 6 |
| effective clusters in p41 | 7.58 of 9 |
| mean items scanned: flat 298.5, three levels 15.5 |
Show the full program
# Chapter 7. p71: the Han catalogue's own totals, added up again.
# Counts transcribed from the received text of the Hanshu Yiwenzhi
# (zh.wikisource, checked 2026-11-20): for each of the six lue, the
# number of schools (jia) and of pian or juan in its closing line; the
# treatise's grand total reads 6 lue, 38 classes, 596 jia, 13,269 juan.
# The military lue also lists 43 juan of diagrams. We add the parts,
# compare with the stated totals, and measure how even the six lue are
# (effective number = 1 / Herfindahl). Then the reading cost of a flat
# list versus the lue -> class -> entry hierarchy (mean items scanned).
import math
LUE = [("liuyi", 103, 3_123), ("zhuzi", 189, 4_324),
("shifu", 106, 1_318), ("bingshu", 53, 790),
("shushu", 190, 2_528), ("fangji", 36, 868)]
STATED_JIA, STATED_JUAN, CLASSES, DIAGRAMS = 596, 13_269, 38, 43
P41 = [5, 4, 1, 2, 2, 3, 3, 2, 2]
def eff(xs):
t = math.fsum(xs)
return 1 / math.fsum((x / t) ** 2 for x in xs)
if __name__ == "__main__":
jia = [j for _, j, _ in LUE]
juan = [p for _, _, p in LUE]
sj = int(math.fsum(jia))
sp = int(math.fsum(juan))
print(" lue jia pian/juan share of jia")
for name, j, p in LUE:
print(" {:<9} {:>4} {:>9,} {:>12.3f}".format(name, j, p, j / sj))
print("sum of parts: {} jia, {:,} pian/juan".format(sj, sp))
print("with diagrams: {:,}".format(sp + DIAGRAMS))
print("stated total: {} jia, {:,} juan".format(STATED_JIA, STATED_JUAN))
print("gap: {:+} jia, {:+,} juan".format(
sj - STATED_JIA, sp + DIAGRAMS - STATED_JUAN))
print("effective number of lue (by jia): {:.2f} of 6".format(eff(jia)))
print("effective clusters in p41: {:.2f} of {}".format(
eff(P41), len(P41)))
flat = (STATED_JIA + 1) / 2
per_lue = CLASSES / 6
per_cls = STATED_JIA / CLASSES
tree = (6 + 1) / 2 + (per_lue + 1) / 2 + (per_cls + 1) / 2
print("mean items scanned: flat {:.1f}, three levels {:.1f}".format(
flat, tree))Single source and citation
Fan, Y. (2026). Niche Keyword Positioning for Digital Monograph Catalogues, High-Ticket Thematic Bundle Direct Sales and Automated Knowledge Cashflow (Version 1.0.0), Chapter 7: Classical Sources: the Treatise on Literature of the Hanshu and Naudé's Advice on Establishing a Library. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-356 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026356,
author = {Fan, Yafu},
title = {Niche Keyword Positioning for Digital Monograph Catalogues, High-Ticket Thematic Bundle Direct Sales and Automated Knowledge Cashflow},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · The Power Laws of Search Demand: Rank, Sales and the Share of the Long Tail
- Chapter 2 · Front-Page Probability and the Blue-Ocean Keyword Score
- Chapter 3 · Seven Keyword Slots: a Compliance Filter and an Exact Knapsack
- Chapter 4 · Clustering the Catalogue into Themes and Measuring Bundle Overlap
- Chapter 5 · Bundle Valuation: Correlation, Marginal Cost and Past Purchases
- Chapter 6 · Two Price Tiers: Screening at 99 and 299, the Left Digit, and a Multi-Step Funnel
- Chapter 8 · The Empirical Loop: a Weekly Cash Ledger for the Catalogue and the Pricing and Closing Tool Specification