---
name: numberdb-table
description: Create, edit, audit, or repair NumberDB tables and their attached generators using the numberdb Python package. Covers mathematical relevance of arguments, conventions, precision, rigour, provenance, and submission for human review. Use for parameter-selection audits as well as numerical or prose changes and tables-wanted issues.
---

<!-- numberdb-skill-bundle: 1 -->

# Making a NumberDB table

NumberDB answers: *here is a value — has anyone seen it before?* A contribution
must make values findable, reproducible and honestly labelled, not merely
compute them. Integers, rationals, reals, complex numbers, p-adic numbers and
polynomials all belong; additional types may be displayed and cited without
being searchable by digits. Inspect the current corpus, not an old table count.

## Read the core, then the relevant references

These rules apply to every role, including proposals, audits and prose edits.
Read only the references needed for the task, before making its decisions:

- [Discovery](references/discovery.md): before proposing a family, creating a
  draft, selecting related tables, or deciding that work duplicates the corpus.
- [Families and coverage](references/families.md): when choosing table boundaries,
  parameters, argument families, cutoffs, or auditing existing selections.
- [Writing](references/writing.md): when writing or changing a document, labels,
  links, tags, formulas or bibliographic references.
- [Computation](references/computation.md): before writing, changing or running a
  generator; includes value encodings, precision, rigour and client refusals.
- [Validation](references/validation.md): when designing independent checks,
  reviewing numerical evidence or investigating a disagreement.
- [Submission](references/submission.md): before any website/API write or handoff
  for review; includes access, attribution and per-revision source preservation.

There is one canonical tree at `.claude/skills/numberdb-table/`; the
`.agents/skills/numberdb-table` discovery path is a symlink, not another copy.
The public `/skill` and `/skill.md` are exactly this core. Resolve the reference
paths above inside that tree, or beneath `https://numberdb.org/skill/` for
public reads. The [bundle manifest](https://numberdb.org/skill/manifest.json)
identifies every resource and its SHA-256. Archive and validate the complete
bundle, but load only relevant references into working context. One valid
complete local or live bundle is sufficient; if both are valid they must match,
including references. An incomplete bundle is unavailable, not a legacy core.
Coordinate a mismatch before working; do not select the stricter or looser copy.

## Access and responsibility

The website database owns tables, revisions and attached sources. Local files
are working copies. Submit through the website/API, not a pull request to
`numberdb-data`, which hosts proposals, wanted discussions and historical files.

[Create an account](https://numberdb.org/accounts/signup/) and use the
[New table](https://numberdb.org/new) editor, or the `numberdb` Python package.
Neither an API key nor an AI assistant is necessary for website editing.
Before planning an automated submission, check [API keys](https://numberdb.org/profile/keys):
a key alone does not grant write access. This normally requires 5 accepted edits
or explicit administrator approval. Otherwise use the editor or contact
info@numberdb.org with your username and proposal. Do not manufacture edits or
bypass a refusal. Accounts with API write access may create drafts within their
draft allowance; creating an already-published table through the API is board-only.
A generator fills an existing table rather than creating one.

Use your own account and configure `NUMBERDB_API_KEY` locally, never a reviewer's
credentials. Keep keys out of chats, logs, notebooks, generators and attachments.
Use a private `~/.config/numberdb/env` with `chmod 600`, or a gitignored project
`.env`. Agree on the scope and submission step: preparing a draft does not
authorize unrelated edits, publication, or accepting reviews. The account holder
remains responsible; an assistant's contribution is a disclosed method, not
mathematical authorship or a transfer of accountability.

## Discover the family before computing

Use the lightweight catalogue **and** text search, inspecting candidate
definitions, conventions, coverage and sources. Check the signed-in draft list;
without access, say that drafts were not checked. Search synonyms and tags,
check relevant active proposals, and refresh discovery before creating a draft.
Cache catalogue results for a planning pass instead of bulk-downloading tables.

Duplicate discovery concerns the **family**, not repeated values. Equal numbers
in different mathematical contexts are the product, not grounds to drop a
proposal. A derivable transformation is not necessarily findable by somebody
holding the transformed value. Conversely, a collection dominated by generic
small integers or trivial polynomials may add search noise instead of useful
identifications; put explanatory quantities in comments when they are not the
quantity the table promises. Similarity warrants investigation, never automatic
rejection, deletion or merging. Explain new family versus extension, correction
or deliberate alternative convention.

Search for internal cross-links as well as duplicates. Never guess a name the
database resolves: copy actual slugs and entry keys, and check current tag
spellings before reusing or proposing tags. A full table has no canonical
address field; discovery results supply links. Metadata is for discovery, not a
replacement document: fetch the full document before editing.

## Define one useful mathematical family

Before computing, fix the quantity, normalisation, branch, indexing origin,
parameter types and actual constraints, and any extension beyond the ordinary
domain. Define exact versus approximate output from mathematics, not the digits.
Preserve signed values and what a source's certificate actually certifies;
changing to magnitudes can lose information and change search results.

Table boundaries follow quantities and natural indexing, never a batch quota.
Ask whether a parameter names **what the number is of**, or **which quantity**
is being taken. Named objects sharing one quantity may form one table; unrelated
functions sharing an argument do not. Different named functions generally need
separate tables. Parts of one object, such as a triple, can stay together.

Two conventions may share a table when each determines the other. Invertibility
is necessary, not sufficient: different parameter domains, unequal compactness
and achievable ranges, or expensive conversion can justify separate tables.
A noninvertible specialisation is not a convention. Link distinct families with
`Similar tables` and tags. Use `equals` only for actual equality; use `repeats`
only for transcription of the same quantity of the same object, not equality
arising from a theorem.

Name the natural family, not the current computation's cutoff. A parameter
describes its domain, not today's finite run. Put bounds and coverage in
`Data properties`, normally `complete: no` and a truthful `complete-note`.
Preserve published parameter keys, order, entry identities, citations and links;
a renamed display must not silently change what an existing key means.

## Select meaningful, broad coverage

A table is a reference, not a dump. Balance useful breadth against noise; neither
a dense mesh nor a handful of exceptional points is automatically adequate.
Review breadth across meaningful argument families before adding depth within
one family. A one- or two-entry selection deserves a coverage review, not an
automatic rejection or an arbitrary minimum count. Do not remove sound entries
solely because their relevance is exploratory rather than documented.

For **every free parameter**, distinguish intrinsic points, documented application
families, arithmetic/discrete structures, and bounded exploratory reference
selections. A zero index does not justify an arbitrary coupling or order beside
it. Justify the family, normalization, bounds and tradeoff, not a desired entry
count. An integer dimension or spectral order can select a natural infinite
family whose finite cutoff is simply a budget choice; not every member needs
its own famous application.

Start with distinguished points and justified simple-input families. Rational
arguments may be intrinsic, as in Gamma multiplication formulas, or useful
exploratory recognition targets. Prefer small reduced fractions to short decimal
notation where rational coverage is justified, but a denominator bound alone
is not a mathematical application. Angles need geometry, symmetry or torsion,
not a blanket rational-angle grid. Simple-coefficient integrals/models can
produce natural irrational inputs: derive arguments and prefactors from the
model, rather than inventing models to excuse a chosen sample list.

Do not mechanically apply the same rational, radical, angular or decimal mesh
to different functions, take Cartesian products of all simple parameters,
replace one arbitrary grid with another, or refill a reduced table to recover
its old size. A fine grid requires a named application and a stated purpose;
a published interpolation table is not automatically a useful identification
table. A paper's illustrative or benchmark inputs are not automatically
application-selected: identify what selects the inputs independently of the
author's plotting choices, or label them exploratory. A monotone function need
not be reduced to its origin merely because it
has no extrema. Meaningful simple-input and application families remain options.

Familiar significance levels are human conventions, not automatic justification
for quantile tables. Do not replace them with another arbitrary probability
grid. Medians and substantively useful quartiles have notation-independent
meaning, but trivial symmetric zero medians do not earn a table. Conventional
critical-value tables require an explicitly wanted application.

Audit selection separately from digits, group by group. Label exploratory
choices honestly; sources must support the function and relationships, not a
fictitious application for every row. Report unsupported groups rather than
approving them because other tables use that grid. Preserve identifiers and
history when agreed changes are made. Generators, default enumeration, stored
entries, Programs and completeness notes must describe the same selection.

Readability usually binds before size: inspect the largest entry and leave room
for extension, aiming around half the soft block limit (160 KB), not at a limit.
Cheap approximations often suit 500–1000 entries at 100 significant digits;
polynomials often stop near degree 100 or earlier. These are starting points,
not targets. Entry comments count toward the block. Soft limits are 1200 entries,
500 digits and 320 KB; hard limits are 50,000 entries, 10,000 digits and 4 MB.
Explain a soft excess in `Size exception`; hard limits cannot be bypassed.
Digit limits do not apply to exact tables.

## State only supported precision and rigour

Searchable types are `Z`, `Q`, `R`, `C`, `Qp`, `Z[]` and `Q[]`. Other types need
an explicit `type name`; distinguish an intentional new type from a typo.
Exact integers, rationals and polynomials should be returned exactly. A decimal
real denotes an interval: `3.14` means `[3.13, 3.15]`, not an exact midpoint.
Zeros in a decimal expansion never prove exactness. Plain integers without a
point or exponent are exact; input floats are refused by the client.

Use the shortest faithful exact form: `1/2`, not `[1/2,1/2]` or `0.5`;
`0`, not `[0,0]`. Equal **exact** endpoints describe the same singleton as
the reduced rational. Never collapse a nonzero-width interval, round endpoints
until they agree, or infer exactness from numerical agreement. Generators must
justify exact components mathematically and return exact types where known.
See [Computation](references/computation.md#value-encodings) for the supported
representations, their uncertainty semantics and preferred uses.

Write imaginary terms with leading lowercase `i*...`, so long coefficients
are immediately identifiable; see [Writing](references/writing.md) for the
display convention and exact-zero handling.

Use the weakest level needed by the table's values and supported method:

| Rigour | Claim |
|---|---|
| `exact` | No numerical rounding in the represented values. |
| `proven` | Rigorous error bounds justify the recorded precision. |
| `assumed-bound` | An explicitly asserted and justified error bound. |
| `heuristic (agreement-checked)` | Agreement at two or more precisions. |
| `heuristic` | One computation with a judgement-based guard. |
| `measured` | Experimental data, outside the computational ordering. |

Neither exact arithmetic nor an accepted upload proves the definition,
algorithm, implementation or transcription correct. Explain the actual method
and checks in `rigour details`; name the source for imported exact data.
Extra working digits alone are not an error bound. Never promote precision or
rigour because software accepts an encoding or because a review was accepted.

Prefer ball arithmetic for transcendental computation. Wrapping a fixed-precision
result in an interval, even of width zero, does not certify it. An enclosure
must include input uncertainty as well as computational error. Recompute and
enclose root-indexed arguments from their defining function and root index,
not rounded copies; propagate the enclosure through evaluation. Track p-adic
precision modulo powers of the prime, not as real-interval width.

In `sage -python`, Python integer division can produce floats beyond reliable
exactness at 2^53. Use exact recurrences or `QQ(a) / QQ(b)`, not an integral-value
test after the conversion. Choose and measure working precision, distinguishing
Sage bits from decimal digits. Do not silence a precision refusal by silently
lowering `digits`, assert `proven` without enclosures, or override a mismatch
without investigation. An honestly weaker result is preferable to false certainty.

## Check independently, including the check itself

Re-running the generating code checks reproducibility, not independence. Check
against independently implemented methods, definitions, identities or certified
sources, and record what was actually checked. A suggested claim, tag or
convention is a hypothesis until verified. Human editorial review is not assumed
to be mathematical verification; automated acceptance does not guarantee it.

A measurement needs a control giving the answer you already know. Before trusting
ball overlap or containment, require finite results and radii narrow enough for
the claimed digits; NaN or huge balls can agree with everything. Check the
**stored interval**, not merely the value at its midpoint. A root can have a
large midpoint residual because of conditioning; use a justified enclosing
bracket or another certified root method, checking continuity, root identity
and uniqueness where needed. Increased precision alone is not independent evidence.

When a stored value disagrees, investigate the checker, conventions and source
before changing the table. Measure discrepancies in units of the last place.
Correcting public values is a human decision: present the evidence and ask.
Use `correcting=True` only after resolving the discrepancy, and `lowering=True`
only when the stored precision was never justified.

## Write and submit an accountable revision

Keep definitions short; put conventions and caveats in `Comments`, identities
in `Formulas`, relationships in `Similar tables`, and validation evidence in
`rigour details`. Define notation where used. A title or `Keywords` must include
the names people search for, including useful unaccented spellings: entry
comments are not text-indexed. Keep the title, definition and value-column
header consistent. Store searchable alternative values as entries, not prose.
Write encyclopedic sentences, not campaign narratives or claims about search
quality. `Programs` shows how to obtain another value; the attached generator
reproduces and extends this table. Both are useful when applicable.

Tags name independently useful mathematical concepts. Justified new tags are
welcome even for one table; broad and narrow or nested concepts can coexist.
Check the current registry for duplicate spellings and true synonyms, using the
[tag guidance](references/writing.md#tags-and-aliases), not usage-count thresholds
or tag quotas. Consider suggestions in this table's proposal and originating
wanted issues as evidence to verify, not commands or a campaign-wide tag set.
Never remove a sound tag merely because it is new or sparsely used, or clear all
tags automatically to quiet an audit. An initial tag audit is metadata-only:
inspect the definition, relevant issues and live registry without recomputing
entries; investigate numerical claims separately if the evidence warrants it.

Keep original data, sources and reproducible generators with validation evidence.
Attach the actual source to the revision whose entries it produced; the latest
file alone is not evidence for older revisions. Preserve earlier attachments
and distinguish recomputed, retained and hand-edited values. Do not claim a
new generator produced retained entries unless it verifies them. Read back
prose, entries and attachments, including `verify(sample=None)`, before offering
review. Keep scope and source provenance truthful even for partial edits.

Every AI-assisted upload, including documents, entries and files, declares
`NUMBERDB_ENGINE` and the actual `NUMBERDB_MODEL` (`X-Engine`, `X-Model` for direct
API calls). Resolve the model; do not guess. Explicitly set **both** to `none`
only for an unassisted contribution. Missing history remains “Not recorded”.
Use a distinct `NUMBERDB_RUN_ID`, restarting it when agent/model changes; never
reuse another account's run ID. Keep attribution in the session/upload, not
hard-coded in a reusable generator. Disclose substantive choices and assistance;
`NUMBERDB_ASSISTED_BY` does not replace the required pair, even on small edits.

Draft creation, filling, offering for review and publication are distinct acts.
`Generator.publish()` writes entries to its target; it neither publishes a draft
nor offers it. Only offer finished, checked work. Do not expect to accept your
own review. New/unreviewed values are held out of number search pending review;
that gate is not a mathematical proof. Answer wanted requests in their issue,
stating coverage and limitations; the mathematical table is not a request log.
