{"uid":"cap_zxdDHTU-0fS3a-kwo5EZf","slug":"numora-collatz-sequence-generator-da976a3e","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://numorapoi.orbonomy.xyz/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":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KrJuJgA5tJGRwoC6SWJJK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","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 (3n+1 problem) for a given positive integer, returning the full sequence and related metrics","exampleAgentPrompt":"Run the Collatz sequence computation on the number 27 and tell me how many steps it takes to reach 1 and what the highest value is along the way.","exampleUseCases":null,"resultDescription":"Returns a JSON object with success=true, a result object containing the full Collatz sequence array and metrics (sequence length, peak value, stopping time), and a human-readable computation string describing what was computed for n.","failureModes":["Missing required field 'n' returns validation error","Non-integer or negative input may return 400 or error result","Payment failure via x402 returns 402 Payment Required before computation","Very large values of n may cause long sequences or timeout","n=0 or n=1 edge cases may return minimal or immediate sequences"],"whenToPreferThis":"Use this endpoint when you need server-side computation of the Collatz (3n+1) sequence without implementing the algorithm locally, especially when you want sequence metadata (length, peak, stopping time) alongside the full sequence. Prefer this over general-purpose code execution endpoints when a lightweight, paid, pure-math API call is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:06:55.055Z","isFirstParty":false}