Can I find a calculator that only calculates unique integer partitions?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 7K views
Aero51
Messages
545
Reaction score
10
I am curious, are there any calculators that calculate integer partitions with the stipulation that the calculator only calculate unique partitions.

For example, if I want to calculate the number of ways to sum to 5 using 3 integers I have the following unique sums:
1 1 3
1 2 2

I would love to write my own, but I am not experienced enough in programming to do so.
 
Physics news on Phys.org