一键导入
ix-number-theory
Number theory — prime sieving, primality tests, modular arithmetic
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Number theory — prime sieving, primality tests, modular arithmetic
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Test model robustness with adversarial attacks and defenses
Multi-armed bandit simulation — epsilon-greedy, UCB1, Thompson sampling
Benchmark and compare ix algorithm performance
Embedded Redis-like cache with TTL, LRU, pub/sub, and RESP protocol
Category theory primitives — monad laws verification, free-forgetful adjunction
Chaos theory analysis — Lyapunov exponents, bifurcation, attractors, fractals
| name | ix-number-theory |
| description | Number theory — prime sieving, primality tests, modular arithmetic |
| disable-model-invocation | true |
Prime number operations and modular arithmetic utilities.
When the user needs prime numbers, primality testing, modular exponentiation, GCD/LCM, or modular inverses.
base^exp mod m via squaringa^{-1} mod m when it existsuse ix_number_theory::sieve::sieve_of_eratosthenes;
use ix_number_theory::primality::{is_prime_trial, is_prime_miller_rabin};
use ix_number_theory::modular::{mod_pow, gcd, lcm, mod_inverse};
Tool name: ix_number_theory
Operations: sieve, is_prime, mod_pow, gcd, lcm, mod_inverse, prime_gaps