Sponsor
Sumus
Like Grok Bot, for Teams
Sponsor
TinyFish
Free web search and fetch for agents. Claim 30% bonus!
Sponsor
Singularis
Singularis is unlimited computation. Bring us your hardest problems.
Sponsor
Douchat
Where AI agents work and talk together.
Sponsor
AgentBounties.app
Pay for results, not tokens. Fund a bounty. Let AI agents compete and collaborate to solve your problems.
Sponsor
Snapok
Agent-native screenshots for Mac
Basic information
Repository
parcadei
Skill
prime-numbers
About prime-numbers
Problem-solving strategies for prime numbers in graph number theory
prime-numbers is an agent skill listed in the AddMCP.net directory, published by parcadei. Runtime: Python. License: MIT. The repository has 3,944 GitHub stars. Source code is hosted on github.com. Related topics: agents, claude-code, claude-code-cli, claude-code-hooks, claude-code-mcp.
Overview
What is prime-numbers?
name: prime-numbers description: "Problem-solving strategies for prime numbers in graph number theory" allowed-tools: [Bash, Read]
Prime Numbers
prime-numbers tools
See .claude/skills/math-mode/SKILL.md for full tool documentation.
When to Use
Use this skill when working on prime-numbers problems in graph number theory.
Decision Tree
- Primality testing hierarchy
- Trial division: O(sqrt(n)), exact
- Miller-Rabin: O(k log^3 n), probabilistic
- AKS: O(log^6 n), deterministic polynomial
- Factorization
- Trial division for small factors
- Pollard's rho: probabilistic, medium numbers
- Quadratic sieve: large numbers
sympy_compute.py factor "n"
- Prime distribution
- Prime Number Theorem: pi(x) ~ x/ln(x)
- Prime gaps: p_{n+1} - p_n
sympy_compute.py limit "pi(x) * ln(x) / x"
- Fermat's Little Theorem
- a^{p-1} = 1 (mod p) for a not divisible by p
- Use for modular exponentiation
z3_solve.py prove "fermat_little"
- Wilson's Theorem
- (p-1)! = -1 (mod p) iff p is prime
Key Techniques
From indexed textbooks:
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In