FAILURE MAP
← Case archive

FA-15524 / Numerics / Member archive

Lucas binomial residue: remaining digit termination · case 04

The exact lucas binomial residue result violates the stated contract at remaining digit termination.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Input [n,k,p], n,k>=0 p prime; return binomial(n,k) modulo p, zero when k>n. Bounds: n,k<2^30.

Why this case matters

Exact discrete arithmetic with observable algorithmic state; no floating point approximation is used.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
explicit oracle 010Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗