MHB Not an exercise, more of a question.

  • Thread starter Thread starter IHateFactorial
  • Start date Start date
  • Tags Tags
    Exercise
Click For Summary
To determine the unique ways to sum to a number n using u addends, where order matters and all addends are positive integers, a combinatorial approach is necessary. The problem can be framed as finding the number of integer solutions to the equation x1 + x2 + ... + xu = n, with the constraint that each xi > 0. The generating functions or the stars and bars theorem can be applied to simplify the calculations. For the example of n=6 with u=4, the formula involves calculating permutations of the partitions of n into u parts. This method avoids the tediousness of manually listing permutations and ensures all unique combinations are counted.
IHateFactorial
Messages
15
Reaction score
0
If I have a number n and I want to know all the unique ways in which I can use u addends to get that number... How do I do it?

For example: If the number is 6 and I want to see how many unique ways I can add up to it (order matters: $$1 + 1 + 2 + 2\ne 2 + 2 + 1 + 1$$) by using 4 addends, what's the formula? (This is, in fact, considering that all the addends are greater than 0 and whole numbers.)

I can do it by looking for each unique way to add up to n using u addends and then factoring in the number of ways each can be permutated, including repeated numbers, but that seems too tedious.
 
Physics news on Phys.org
The standard _A " operator" maps a Null Hypothesis Ho into a decision set { Do not reject:=1 and reject :=0}. In this sense ( HA)_A , makes no sense. Since H0, HA aren't exhaustive, can we find an alternative operator, _A' , so that ( H_A)_A' makes sense? Isn't Pearson Neyman related to this? Hope I'm making sense. Edit: I was motivated by a superficial similarity of the idea with double transposition of matrices M, with ## (M^{T})^{T}=M##, and just wanted to see if it made sense to talk...

Similar threads

  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 3 ·
Replies
3
Views
770
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K