Skip to main content

avoid-recursive-modular-exponentiation-for-inverses

Stars8
Forks0
UpdatedJune 18, 2026 at 23:19

Use when the code computes modular inverses via Fermat's little theorem using a power function with a data-dependent loop (pw(x, mod-2)) called repeatedly inside combinatorial helpers

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
3 files
SKILL.md
readonly