# Solution: A Certain Unscientific Sum of Falling Factorials and Binomial Coefficients Codex (GPT-6): application of a falling-factorial identity, fixed-modulus factorial checkpoints, and a constant-space Wilson-complement alternative. The identity, Fermat's little theorem, and Wilson's theorem are established mathematical methods. ## A counting identity Choose a subset of $n$ objects, then choose $k$ designated objects from that subset in order. For a subset of size $i$ , there are $\binom ni i^{\underline{k}}$ choices. Alternatively, first choose the ordered $k$ designated objects in $n^{\underline{k}}$ ways. Each of the other $n-k$ objects independently joins the subset or stays out. The two procedures describe the same objects, so for $k\le n$ , $$\sum_{i=1}^{n}\binom ni i^{\underline{k}}=n^{\underline{k}}2^{n-k}$$ For $k>n$ , every term is zero. Since $k\ge1$ , no additional $i=0$ term is needed. ## Fixed-modulus factorial checkpoints (primary) Since $n