{"uid":"cap_RW0XHU1z5Q5LiYJEmsnIe","slug":"delx-lcm-least-common-multiple-e10a9809","name":"Delx LCM (Least Common Multiple)","description":"Least common multiple. Use for cadence alignment, tile sizes, or schedule math in agent workflows. Returns LCM of two integers. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.","url":"https://api.delx.ai/api/v1/x402/lcm","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{"type":"integer","description":"First integer operand."},"b":{"type":"integer","description":"Second integer operand."}}},"responseSchema":{"type":"json","example":{"a":18,"b":24,"lcm":72,"schema":"delx/lcm/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2rc8RYPnIaeytRlcJj_fr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the least common multiple of two integers, useful for cadence alignment, tile sizing, and schedule math in agent workflows.","exampleAgentPrompt":"What's the least common multiple of 12 and 18? I need it to align two repeating task schedules that run every 12 and 18 steps respectively.","exampleUseCases":[{"title":"Aligning two agent polling cadences","prompt":"I have one agent that checks for updates every 8 minutes and another every 6 minutes — what's the LCM of 6 and 8 so I know when they'll both fire at the same time?"},{"title":"Grid tile size synchronization","prompt":"I'm laying out a grid and need tiles that fit both 15-unit and 20-unit sections evenly — can you find the least common multiple of 15 and 20 for me?"},{"title":"Recurring workflow schedule math","prompt":"Two scheduled jobs run every 14 days and 21 days — compute the LCM of 14 and 21 so I know how often they'll land on the same day."}],"resultDescription":"Returns a JSON object containing the least common multiple of the two input integers as a single deterministic integer value.","failureModes":["Zero input: LCM is mathematically undefined or zero when either operand is 0","Non-integer inputs: structured validation error returned, no charge applied","Missing required fields: validation error with no billing","Overflow: very large integers may cause computation issues depending on implementation limits"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, pay-per-call LCM computation with no API key or subscription overhead, especially inside agent workflows requiring cadence alignment, tile sizing, or schedule synchronization. Prefer over general math APIs when you want first-party JSON output and micro-payment billing only on successful results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:14:52.685Z","isFirstParty":false}