# n_sum

[![PyPI Version](https://img.shields.io/pypi/v/n_sum.svg)](https://pypi.org/project/n_sum/)
[![Python Version](https://img.shields.io/pypi/pyversions/n_sum.svg)](https://pypi.org/project/n_sum/)
[![License](https://img.shields.io/pypi/l/n_sum.svg)](https://github.com/shkumar5-india/n_sum/blob/main/LICENSE)
[![Downloads](https://img.shields.io/pypi/dm/n_sum.svg)](https://pypi.org/project/n_sum/)
[![Build Status](https://img.shields.io/github/actions/workflow/status/shkumar5-india/n_sum/python-package.yml?branch=main)](https://github.com/shkumar5-india/n_sum/actions)

A Python package for calculating sums of numbers and series.  
Provides functions for summing natural numbers, lists, squares, cubes, and arithmetic/geometric series.

---

## Features

- `sum_n(n)` – Sum of first `n` natural numbers  
- `sum_list(numbers)` – Sum of a list of numbers  
- `sum_squares(n)` – Sum of squares of first `n` natural numbers  
- `sum_cubes(n)` – Sum of cubes of first `n` natural numbers  
- `arithmetic_series(a, d, n)` – Sum of first `n` terms of an arithmetic series  
- `geometric_series(a, r, n)` – Sum of first `n` terms of a geometric series

---

## Installation

**From PyPI:**

```bash
pip install n_sum


