FreeSkills
Knowledge wiki setup
- 418418 downloads
- 129129 likes
- 161161 saves
- Claude Code
- Codex
- Cursor
- and 3 more
Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans
Use this resource to test an integer for primality and factorize it
New
Free
In a terminal, from the folder you want:
npx --yes palatekit@latest install primality-and-factorizationWith no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.
First time: connect the CLI with
npx --yes palatekit@latest loginThe agent classifies the problem (primality test, factorization, prime distribution) and then picks the matching method, from trial division to Miller-Rabin or the quadratic sieve. It relies on SymPy and Z3 to check the results. You get a justified method and the related calculations.
Mostly picked by
Updated November 2, 2026
You say
“Is this 40-digit integer prime and, if not, what are its factors?”

Skill published by parcadei under the MIT license, delivered in its original version.
Listed unmodified
« prime-numbers » (parcadei, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.
–
No ratings yet
Loading reviews…