Skip to main content
Glama

arithmetic_sum

Calculate the sum of an arithmetic sequence using the formula n/2 * (2a + (n-1)d). Provide the first term, common difference, and number of terms to compute the total sum.

Instructions

Calculate the sum of an arithmetic sequence using the formula: n/2 * (2a + (n-1)d). (Domain: arithmetic, Category: general)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
first_termYes
common_diffYes
num_termsYes

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrishayuk/chuk-mcp-math-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server