modular-arithmetic
Installation
SKILL.md
Modular Arithmetic
When to Use
Use this skill when working on modular-arithmetic problems in graph number theory.
Decision Tree
-
Extended Euclidean Algorithm
- Find gcd(a,b) and x,y with ax + by = gcd(a,b)
- Modular inverse: a^{-1} mod n when gcd(a,n) = 1
sympy_compute.py solve "a*x == 1 mod n"
-
Chinese Remainder Theorem
- System x = a_i (mod m_i) with coprime m_i
- Unique solution mod prod(m_i)
z3_solve.py prove "crt_solution_exists"
Related skills
More from parcadei/continuous-claude-v3
discovery-interview
Deep interview process to transform vague ideas into detailed specs. Works for technical and non-technical users.
3.3Kmath
Unified math capabilities - computation, solving, and explanation. I route to the right tool.
517github-search
Search GitHub code, repositories, issues, and PRs via MCP
517dead-code
Find unused functions and dead code in the codebase
434premortem
Identify failure modes before they occur using structured risk analysis
413agentic-workflow
Agentic Workflow Pattern
392