Skip to main content

All Questions

1 vote
1 answer
62 views

Computing integer partitions subject to certain constraints

Context: I am programming a videogame. Background: Let $I$ be a set of named items such that each is assigned a difficulty score, and each is tagged either as "food" or "obstacle". ...
A. B. Marnie's user avatar
  • 1,312
1 vote
1 answer
2k views

Partitions Into at Least Two Distinct Parts

I am looking for a formula/algorithm to give me the distinct (I might be using this term wrong) partitions of number N if it meets the following conditions: all I need is the number of partitions ...
Steve Byrne's user avatar