happytails.ai

Partition and composition calculator

Enumerate constrained integer partitions or ordered compositions and verify every result.

Supply total from 0 to 60 and optional minPart, maxPart, minLength, maxLength and distinct. Parts are positive integers from 1 to 60. Partitions are nondecreasing lists; compositions distinguish order. Distinct applies to the whole list. The empty list is the sole length-zero representation of total zero. Every result is checked against the stated constraints; exceeding enumeration or report limits returns no partial list. All processing stays on your device. Paste JSON with dot decimals; quote exact fractions and large integers. Input is limited to 100,000 characters and 100 digits per scalar. Exact results use reduced fractions, with a 1,024-digit and 200,000-step arithmetic bound. Enumeration is limited to 10,000 complete results and 1,000,000 search steps; exceeding a bound returns an error, not a partial answer. Geometry uses floating-point approximations. JSON and typed JSON Pointer CSV retain the complete input, results, constraints and worked steps. Reports are limited to 4,000,000 JSON and 8,000,000 CSV characters. Each calculation uses a disposable worker with a 10-second timeout. Search and sort the first 200 preview rows. Copy result copies the summary. Download JSON or CSV for every result and worked step. Geometry tools also provide a downloadable SVG diagram. Supply total from 0 to 60 and optional minPart, maxPart, minLength, maxLength and distinct. Parts are positive integers from 1 to 60. Partitions are nondecreasing lists; compositions distinguish order. Distinct applies to the whole list. The empty list is the sole length-zero representation of total zero. Every result is checked against the stated constraints; exceeding enumeration or report limits returns no partial list. All processing stays on your device. Paste JSON with dot decimals; quote exact fractions and large integers. Input is limited to 100,000 characters and 100 digits per scalar. Exact results use reduced fractions, with a 1,024-digit and 200,000-step arithmetic bound. Enumeration is limited to 10,000 complete results and 1,000,000 search steps; exceeding a bound returns an error, not a partial answer. Geometry uses floating-point approximations. JSON and typed JSON Pointer CSV retain the complete input, results, constraints and worked steps. Reports are limited to 4,000,000 JSON and 8,000,000 CSV characters. Each calculation uses a disposable worker with a 10-second timeout. Up to 100,000 characters. Review the settings before running.

Your result

Report a problem or share an idea.

How to use Partition and composition calculator
  1. Paste a JSON example and edit its documented fields. Keep machine field names unchanged.
  2. Choose a supported operation and review the stated domain and bounds.
  3. Review the result and download the complete JSON or CSV report, including worked steps.

Useful next steps

Partition and composition calculator

Supply total from 0 to 60 and optional minPart, maxPart, minLength, maxLength and distinct. Parts are positive integers from 1 to 60. Partitions are nondecreasing lists; compositions distinguish order. Distinct applies to the whole list. The empty list is the sole length-zero representation of total zero. Every result is checked against the stated constraints; exceeding enumeration or report limits returns no partial list.

Keep the complete calculation

All processing stays on your device. Paste JSON with dot decimals; quote exact fractions and large integers. Input is limited to 100,000 characters and 100 digits per scalar. Exact results use reduced fractions, with a 1,024-digit and 200,000-step arithmetic bound. Enumeration is limited to 10,000 complete results and 1,000,000 search steps; exceeding a bound returns an error, not a partial answer. Geometry uses floating-point approximations. JSON and typed JSON Pointer CSV retain the complete input, results, constraints and worked steps. Reports are limited to 4,000,000 JSON and 8,000,000 CSV characters. Each calculation uses a disposable worker with a 10-second timeout. Search and sort the first 200 preview rows. Copy result copies the summary. Download JSON or CSV for every result and worked step. Geometry tools also provide a downloadable SVG diagram.