maestro/skills/math/math/graph-number-theory/modular-arithmetic/SKILL.md
Problem-solving strategies for modular arithmetic in graph number theory
npx skillsauth add scooter-lacroix/maestro modular-arithmeticInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when working on modular-arithmetic problems in graph number theory.
Extended Euclidean Algorithm
sympy_compute.py solve "a*x == 1 mod n"Chinese Remainder Theorem
z3_solve.py prove "crt_solution_exists"Euler's Theorem
sympy_compute.py simplify "euler_phi"Quadratic Residues
Order and Primitive Roots
uv run python -m runtime.harness scripts/sympy_compute.py solve "a*x == 1 mod n" --var x
uv run python -m runtime.harness scripts/z3_solve.py prove "solution_exists_iff_pairwise_coprime"
uv run python -m runtime.harness scripts/sympy_compute.py simplify "phi(p**k) == p**(k-1)*(p-1)"
uv run python -m runtime.harness scripts/z3_solve.py prove "legendre_symbol_multiplicative"
From indexed textbooks:
See .maestro/skills/math-mode/SKILL.md for full tool documentation.
tools
Wiring Verification
tools
Create and configure Maestro sub-agents with custom prompts, tools, and models
data-ai
Create and use Maestro slash commands - quick prompts, bash execution, file references
development
Upgrade any skill to v5 Hybrid format using decision theory + modal logic