Skip to content
Back to skills

Number Theory

ASecurity

Prime numbers, congruences, Diophantine equations, Euler totient, and cryptographic primitives.

  • 8 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 9, 2026
ai-agentsgo

Works with

  • cli

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add hamzabellouch/agent-skills --skill number-theory --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Number Theory?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Number Theory
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hamzabellouch-number-theory/badge)](https://www.skillsdirectory.com/skills/hamzabellouch-number-theory)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: number-theory
description: Prime numbers, congruences, Diophantine equations, Euler totient, and cryptographic primitives.
metadata:
  category: Algebra and Number Theory
---

# Number Theory

## Domain
Properties of integers.

## Core Concepts
- Divisibility, primes, unique factorization
- Congruences, modular arithmetic
- Diophantine equations
- Quadratic residues, Legendre symbol
- Riemann zeta function, analytic NT

## Key Methods
- Euclidean algorithm
- Chinese Remainder Theorem
- Fermat's little theorem, Euler's theorem
- Quadratic reciprocity
- Sieve methods

## Canonical Examples
- Solve x ≡ 2 (mod 3), x ≡ 3 (mod 5) → x ≡ 8 (mod 15).
- Prove infinitely many primes (Euclid).
- Wilson: (p-1)! ≡ -1 (mod p) for prime p.

## Common Pitfalls
- Assuming unique factorization in all rings
- Misapplying Fermat when modulus isn't prime
- Ignoring coprimality conditions

## Related Skills
Abstract Algebra, Cryptography, Combinatorics

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.