{"uid":"cap_ymyQVmz9HHlHJiYym80v4","slug":"harmonic-number-sequence-generator-54ca222f","name":"Harmonic Number Sequence Generator","description":"Generate a list of harmonic numbers (1 + 1/2 + ... + 1/n) up to a specified limit n.","url":"https://sovereign-x402-zeta.vercel.app/api/v1/sequence/harmonic?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{},"additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_JTvyEgGaQfe19rZXzQgNG","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":"Generates a list of harmonic numbers (partial sums 1 + 1/2 + ... + 1/k for k=1..n) up to a specified limit n","exampleAgentPrompt":"Can you generate the full list of harmonic numbers up to n=25 for me?","exampleUseCases":[{"title":"Harmonic series for algorithm analysis","prompt":"I need to see all harmonic number values up to n=100 — can you generate the full partial sum sequence for me?"},{"title":"Mathematics homework on series convergence","prompt":"Generate the harmonic number sequence up to n=10 so I can study how slowly the series grows."},{"title":"Numerical reference table for data science","prompt":"Can you compute the harmonic numbers from 1 to 50 and give me the list of values?"}],"resultDescription":"A list of harmonic number values H(1), H(2), ..., H(n), where H(k) = 1 + 1/2 + 1/3 + ... + 1/k, computed as floating-point partial sums up to the specified limit n.","failureModes":["Missing or invalid limit n in request body — returns 400 error","Non-integer or negative value for n — likely rejected or returns error","Extremely large n may cause slow response or timeout","Malformed JSON body — returns 400 or 422 error","Payment not completed — returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a pre-computed list of harmonic number values (partial sums of the harmonic series) up to some limit n, without implementing the computation yourself. Prefer it over general-purpose code execution when you want a simple, paid API call that returns the sequence directly. It complements the sibling prime-sequence endpoint on the same platform for mathematical sequence generation tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:42:21.658Z","isFirstParty":false,"canonicalSlug":"harmonic-number-sequence-generator-54ca222f"}