{"uid":"cap_v65pSVGgYXlGcVMB29fA1","slug":"numora-pascal-triangle-generator-c74d3d87","name":"Numora Pascal Triangle Generator","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://numomo.vercel.app/api/generate/pascal-triangle","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.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zGsD6RmiZlkXlTjV_iMFB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates the first n rows of Pascal's triangle as a pure math computation with zero external dependencies","exampleAgentPrompt":"Can you generate Pascal's triangle for the first 12 rows so I can use the binomial coefficients in my probability calculation?","exampleUseCases":[{"title":"Binomial expansion for algebra","prompt":"I need Pascal's triangle with 8 rows so I can look up the coefficients for expanding (a+b)^7 by hand."},{"title":"Combinatorics teaching tool","prompt":"Can you produce the first 15 rows of Pascal's triangle so I can show students the patterns for combinations like C(n,k)?"},{"title":"Probability distribution reference","prompt":"Give me Pascal's triangle up to row 10 — I want to use the values as weights for a binomial probability distribution problem."}],"resultDescription":"Returns a success flag, a result object containing the rows of Pascal's triangle as nested arrays of integers up to row n, and a human-readable computation description string explaining what was computed.","failureModes":["Missing required field 'n' returns a 400 or error response","Non-integer or negative value for n may cause a validation error or unexpected result","Very large values of n may cause performance degradation or timeout","Payment failure via x402 micropayment will block the request before computation"],"whenToPreferThis":"Choose this endpoint when you need a fast, self-contained, dependency-free computation of Pascal's triangle rows without calling a general-purpose compute environment. Ideal for AI agents that need binomial coefficients, combinatorial lookups, or triangular number arrays on demand at $0.02 per call via x402 micropayments on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:57:53.701Z","isFirstParty":false}