number-theory-toolkit
SolidProvide number theory algorithm implementations and guidance
AI & Automation 1,160 stars
71 forks Updated today MIT
Install
Quality Score: 94/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Number Theory Toolkit Skill
## Purpose
Provide implementations and guidance for number theory algorithms commonly used in competitive programming.
## Capabilities
- Modular arithmetic operations
- Extended Euclidean algorithm
- Chinese Remainder Theorem
- Modular inverse and exponentiation
- FFT/NTT for polynomial multiplication
- Linear sieve implementations
## Target Processes
- number-theory-algorithms
- prime-algorithms
- combinatorics-counting
## Algorithm Catalog
### Modular Arithmetic
- Modular exponentiation (binary exp)
- Modular inverse (Fermat/Extended GCD)
- Modular square root (Tonelli-Shanks)
### GCD and Extensions
- Euclidean algorithm
- Extended Euclidean algorithm
- Linear Diophantine equations
### Chinese Remainder Theorem
- CRT for coprime moduli
- General CRT
### FFT/NTT
- Fast Fourier Transform
- Number Theoretic Transform
- Polynomial multiplication
## Input Schema
```json
{
"type": "object",
"properties": {
"algorithm": { "type": "string" },
"parameters": { "type": "object" },
"language": {
"type": "string",
"enum": ["cpp", "python", "java"]
},
"modulo": { "type": "integer" }
},
"required": ["algorithm"]
}
```
## Output Schema
```json
{
"type": "object",
"properties": {
"success": { "type": "boolean" },
"code": { "type": "string" },
"explanation": { "type": "string" },
"complexity": { "type": "string" }
},
"required": ["success"]
}
```
Details
- Author
- a5c-ai
- Repository
- a5c-ai/babysitter
- Created
- 4 months ago
- Last Updated
- today
- Language
- JavaScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
combinatorics-calculator
Calculate combinatorial values with modular arithmetic
1,160 Updated today
a5c-ai AI & Automation Listed
math-and-combinatorics
Reference patterns for mathematical and combinatorial problem-solving. Covers modular arithmetic, prime sieves, GCD/LCM, binomial coefficients, fast exponentiation, counting techniques, inclusion-exclusion, and game theory. Load this skill when a problem involves number theory, combinatorics, modular operations, or strategic game analysis.
38 Updated today
sequenzia AI & Automation Solid
modular-arithmetic
Problem-solving strategies for modular arithmetic in graph number theory
496 Updated 1 months ago
vibeeval AI & Automation Listed
prime-numbers
Problem-solving strategies for prime numbers in graph number theory
3,795 Updated 4 months ago
parcadei AI & Automation Listed
modular-arithmetic
Problem-solving strategies for modular arithmetic in graph number theory
3,795 Updated 4 months ago
parcadei