Skip to main content
Glama

restricted_partitions

Count integer partitions with a maximum part size constraint. Input an integer and maximum part value to calculate restricted partition counts for mathematical analysis.

Instructions

Count restricted partitions where largest part is at most max_part. (Domain: arithmetic, Category: partitions)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nYes
max_partYes

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