{"uid":"cap_XF0FjtIQiESrOPMqmmR5h","slug":"numora-collatz-sequence-endpoint-c15a9d65","name":"Numora Collatz Sequence Endpoint","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://numormor.netlify.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":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":{"p10Cents":"10.0000","medianCents":"10.0000","p90Cents":"10.0000","minCents":"10.0000","maxCents":"10.0000","p95Cents":"10.0000","sampleCount":1,"varies":false,"failureChargeRate":1},"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_DZ-gQsAuNOyD9u-D4kU_k","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the Collatz sequence for a given positive integer, returning the step-by-step hailstone sequence until it reaches 1","exampleAgentPrompt":"Can you run the Collatz sequence for n = 27 and show me how many steps it takes to reach 1?","exampleUseCases":null,"resultDescription":"Returns a success flag, a result object containing the full Collatz sequence array and step count, and a human-readable computation string describing what was computed for the given integer n.","failureModes":["Missing required field 'n' returns a 400 error","Non-integer or negative input may cause validation failure or undefined behavior","n = 0 or n < 1 may be rejected as the sequence is undefined for non-positive integers","Service outage on Netlify hosting returns 503","Payment failure via x402 micropayment returns 402 before computation proceeds"],"whenToPreferThis":"Choose this endpoint when you need a pure, self-contained server-side computation of the Collatz (3n+1) hailstone sequence with no external dependencies, especially when you want a structured JSON result including the full sequence and step count without implementing the algorithm locally.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:47:28.442Z","isFirstParty":false}