prime-numbers

Solve prime number problems in graph number theory using Python scripts.

8|1|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/scooter-lacroix/Maestro --skill prime-numbers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prime-numbers
Source: https://github.com/scooter-lacroix/Maestro/tree/main/maestro/skills/math/math/graph-number-theory/prime-numbers
Command: npx skills add https://github.com/scooter-lacroix/Maestro --skill prime-numbers

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill provides strategies and tools for solving problems related to prime numbers within the domain of graph number theory.

Core Features & Use Cases

  • Primality Testing: Offers various algorithms like trial division, Miller-Rabin, and AKS for determining if a number is prime.
  • Factorization: Includes methods for finding prime factors of numbers, from simple trial division to more advanced techniques.
  • Prime Distribution Analysis: Aids in understanding the distribution of prime numbers using theorems and approximations.
  • Use Case: Determine if a large number is prime using Miller-Rabin, or find the prime factors of a given number using sympy.

Quick Start

Use the prime-numbers skill to find the prime factors of 12345.

Frequently Asked Questions about prime-numbers

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test if a large number is prime using Python?

To test if a number is prime, this skill provides algorithms like trial division, Miller-Rabin, and AKS, utilizing Python scripts with the sympy library to perform primality testing and calculations.

What is the best way to find prime factors of a number in Python?

Finding prime factors is supported through methods ranging from simple trial division to advanced factorization techniques, utilizing Python scripts and the sympy library for computational calculations.

Can I use z3 to solve prime number graph theory problems?

Yes, you can use z3 to solve prime number graph theory problems, as this skill utilizes Python scripts with libraries like z3 and sympy for calculations, proofs, and constraint solving.

How do I apply Fermat's Little Theorem and Wilson's Theorem for prime distribution analysis?

Applying Fermat's Little Theorem and Wilson's Theorem allows you to understand prime distribution analysis and build proofs, supported by Python scripts with sympy and z3 for computational verification.

Does sympy support primality testing and factorization out of the box?

Yes, sympy supports primality testing and factorization, and this skill leverages those capabilities alongside custom algorithms like Miller-Rabin and AKS to provide strategies for graph number theory problems.