number-theory
Properties of integers
Source facts
- Repository
- ffsshhttiikk/opencode-agents-skills
- Last source activity
- February 28, 2026 at 22:53
- Detected SKILL.md language
- English
- Stars
- 3
- Forks
- 2
Install options
The review-first prompt is selected by default. You can switch to a direct command or download a local copy.
Review the source files
Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.
Showing SKILL.md
SKILL.md
Source instructions · Read-only preview- name
- number-theory
- description
- Properties of integers
- license
- MIT
- compatibility
- opencode
- metadata
- {"audience":"mathematicians","category":"mathematics"}
## What I do
- Apply divisibility and prime factorization
- Solve Diophantine equations
- Work with modular arithmetic and congruences
- Apply Euler's theorem and Fermat's little theorem
- Analyze continued fractions
- Study cryptographic applications
## When to use me
When working with integer problems, cryptography, or coding theory.
## Key Concepts
- **Euclidean Algorithm**: gcd(a,b) = gcd(b, a mod b) for greatest common divisor
- **Prime Factorization**: Unique up to order (Fundamental Theorem of Arithmetic)
- **Modular Arithmetic**: a ≡ b (mod n) means n divides (a-b)
- **Euler's Totient**: φ(n) = count of integers ≤n coprime to n
- **Fermat's Little Theorem**: a^{p-1} ≡ 1 (mod p) for prime p, a not divisible by p
- **Chinese Remainder Theorem**: System of congruences has unique solution mod product
View on GitHub