p and different calendar rules.
| Prime p | L(Λ) mod p | Condition | Notes |
|---|---|---|---|
| Most p ∤ 400 | 401 | Generic case | p ∤ (3) and p ∤ (76) |
| p = 3 | 305 | p | c−1 | Deficit: (ab−a) = 96 |
| p = 97 | 397 | p | bc−c+1 | Deficit: a = 4 |
| p ∈ {2, 5} | — | p | 400 | Excluded |
| Theorem | Formula / Result |
|---|---|
| A (Staircase) | g_n(Y) = ⌊Y/n⌋ mod p has complexity n+1 |
| B (Upper Bound) | L(L_{a,b,c}) ≤ abc+1 |
| C (Exact) | L(L_{a,b,c}) = abc+1 − (ab−a)·[p|c−1] − a·[p|bc−c+1] |
| D (General) | For arbitrary moduli: M+1 − Σ φ(d)·[σ_d=0] − ε |