← Agent Data Hub · Search endpoints · /llms.txt

AI Number Theory: Prime Factorization, Primality, GCD (ggT) & LCM (kgV)

Performs deterministic primality testing, prime factorization, Greatest Common Divisor (GCD), and Least Common Multiple (LCM).

Call it (no API key)

GET https://api.agentdatahub.de/api/v1/call/ai-tool-prime-factorization-gcd?n=360&m=144&compact=1

Full metadata: without compact=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"ai-tool-prime-factorization-gcd"}

Parameters

nPrimary integer e.g. 360
mSecond integer for GCD/LCM e.g. 144

Example response (live, compact)

{
  "apiId": "ai-tool-prime-factorization-gcd",
  "data_freshness": "live",
  "data": {
    "tool": "ai-tool-prime-factorization-gcd",
    "n": 360,
    "is_n_prime": false,
    "prime_factors_of_n": [
      2,
      2,
      2,
      3,
      3,
      5
    ],
    "m": 144,
    "gcd_n_m": 72,
    "lcm_n_m": 720
  },
  "source": "100% Platform-Native Deterministic AI Core Utility (<1ms)",
  "license": "100% Platform-Owned Deterministic Algorithm (Commercial Use Allowed)"
}

Source & license

Source100% Platform-Native Deterministic AI Core Utility (<1ms)
License100% Platform-Owned Deterministic Algorithm (Commercial Use Allowed)
Source URLhttps://api-hub.internal/ai-core-tools/ai-tool-prime-factorization-gcd
Termshttps://opensource.org/licenses/MIT
CategoryDeveloper, Tech & Web › AI Core Daily Tools