{"uid":"cap_VgEfwlxteJjsPHP9PHOoZ","slug":"forgemesh-math-fact-generator-c35f892b","name":"ForgeMesh Math Fact Generator","description":"Math fact generator for integers: computes a bundle of properties for any number you supply, primality, factorization, perfect-square status, Fibonacci membership, and alternate representations in binary, hex, and Roman numerals. Deterministic and instant, with no external lookup involved. Good for trivia games, validation logic, or satisfying idle curiosity about a specific integer.","url":"https://x402.forgemesh.io/math-fact-generator","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"number":{"type":"string","description":"any integer, default 42"}}},"responseSchema":{"type":"json","example":{"binary":"110010010","number":402,"is_prime":false,"digit_sum":6,"prime_factors":[2,3,67],"roman_numeral":"CDII"}},"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_mEktDTVNfb_Syau4ZFOvO","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 mathematical properties of any integer including primality, factorization, perfect-square status, Fibonacci membership, and alternate representations in binary, hex, and Roman numerals.","exampleAgentPrompt":"What are all the math facts about the number 144 — is it prime, a perfect square, a Fibonacci number, and what does it look like in binary, hex, and Roman numerals?","exampleUseCases":null,"resultDescription":"A bundle of computed properties for the supplied integer: whether it is prime, its prime factorization, whether it is a perfect square, whether it belongs to the Fibonacci sequence, and its representations in binary, hexadecimal, and Roman numerals.","failureModes":["Non-integer or non-numeric string input may return an error or unexpected result","Extremely large integers may exceed processing limits","Empty or missing 'number' field defaults to 42 rather than returning an error","Roman numeral representation may fail or be undefined for very large numbers (>3999 in standard notation)"],"whenToPreferThis":"Use this endpoint when you need instant, deterministic mathematical analysis of a specific integer — especially when you want multiple properties in a single call (primality, factorization, Fibonacci, perfect-square, and numeral conversions) without building custom logic. Ideal for trivia generation, educational tools, or validation pipelines that need to annotate integers with mathematical context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:50:40.458Z","isFirstParty":false}