{"uid":"cap_SFajzIrtuxXuDUrcpIjH6","slug":"numora-collatz-sequence-computation-86b14437","name":"Numora Collatz Sequence 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/collatz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["n"],"properties":{"n":{"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_LdtgwXMNcU84JktD4Lmdw","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 Collatz sequence (3n+1 conjecture) for a given integer, returning the full sequence and related statistics","exampleAgentPrompt":"Can you compute the full Collatz sequence for 27 and tell me how many steps it takes to reach 1?","exampleUseCases":[{"title":"Exploring Collatz sequence length","prompt":"What's the Collatz stopping time for 871 — how many steps does it take to reach 1, and what's the peak value along the way?"},{"title":"Verifying 3n+1 conjecture behavior","prompt":"Trace the full hailstone sequence starting from 6171 and show me every value in the chain down to 1."},{"title":"Number theory research on large inputs","prompt":"Run the Collatz sequence for 9780657631 and tell me the length of the sequence and the maximum value it reaches."}],"resultDescription":"Returns a success flag, a human-readable computation description, and a result object containing the full Collatz sequence array, its length (stopping time), the maximum value reached during the sequence, and the starting number n.","failureModes":["Missing required field 'n' returns a validation error","Non-integer or non-positive input may return an error or undefined behavior","Very large integers may cause timeout or memory issues depending on sequence length","Payment failure (insufficient USDC balance) blocks the request via x402 protocol"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, dependency-free server-side computation of the Collatz sequence for a specific integer, especially when you want the full sequence path, stopping time, and peak value in a single call. Prefer it over client-side computation when auditability or a structured API response is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:04:35.995Z","isFirstParty":false}