{"uid":"cap_IYjrN9Jo3tzPP50qHTFMm","slug":"numora-gcd-lcm-computation-3c8eec73","name":"Numora GCD & LCM Computation","description":"100 pure math computation endpoints for AI agents. Statistics, financial math, linear algebra, equation solving, calculus, number theory, sequence generation, and unit conversions. Zero external dependencies. x402 micropayments on Base.","url":"https://numormo.vercel.app/api/number/gcd-lcm","method":"POST","headers":{},"bodySchema":{"type":"object","required":["a","b"],"properties":{"a":{"type":"integer"},"b":{"type":"integer"}}},"responseSchema":{"type":"object","required":["success","result","computation"],"properties":{"result":{"type":"object","description":"Computation result varies by endpoint"},"success":{"type":"boolean","description":"Always true on success"},"computation":{"type":"string","description":"Human-readable description of what was computed"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hFB44OVnNr9MxIT_8gNfz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the Greatest Common Divisor (GCD) and Least Common Multiple (LCM) of two integers","exampleAgentPrompt":"What are the GCD and LCM of 48 and 180? I need both values for a math problem I'm working through.","exampleUseCases":[{"title":"Simplify a fraction automatically","prompt":"I have the fraction 144/252 — can you find the GCD of 144 and 252 so I can simplify it to lowest terms?"},{"title":"Schedule recurring events alignment","prompt":"Event A repeats every 12 days and event B repeats every 18 days — find the LCM so I know when they'll next fall on the same day."},{"title":"Check if two numbers are coprime","prompt":"Are 35 and 64 coprime? Compute the GCD of 35 and 64 and tell me if they share any common factors."}],"resultDescription":"Returns a JSON object with a 'result' object containing the computed GCD and LCM of the two input integers, a 'success' boolean set to true, and a 'computation' string describing what was calculated in human-readable form.","failureModes":["Non-integer inputs return a validation error","Missing required fields 'a' or 'b' result in a 400-level error","Both inputs being zero is mathematically undefined and may return an error","Very large integers may cause overflow or timeout","Payment failure via x402 returns a 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need both GCD and LCM computed together in a single call without setting up a local math library. Ideal for AI agents that require pure server-side math computation with no external dependencies, especially in contexts where installing scipy, numpy, or similar is not feasible. Prefer this over general-purpose compute endpoints when the specific operation is GCD/LCM on integers and you want a reliable, paid, always-available API.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:51:05.820Z","isFirstParty":false}