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
| Name | Required | Description | Default |
|---|---|---|---|
| first_term | Yes | ||
| common_diff | Yes | ||
| num_terms | Yes |