I want a generalization of this kind
[(r1, ..., rk) for r1 in range(n+1) ... for rk in range(n+1) if r1 + ... + rk = n]
For a general number of $r$'s and any $n$
1 | initial version |
I want a generalization of this kind
[(r1, ..., rk) for r1 in range(n+1) ... for rk in range(n+1) if r1 + ... + rk = n]
For a general number of $r$'s and any $n$
I want a generalization of this kind
[(r1, ..., rk) for r1 in range(n+1) ... for rk in range(n+1) if r1 + ... + rk = n]
For a general number of $r$'s and any $n$
I want a generalization of this kind
[(r1, ..., rk) for r1 in range(n+1) ... for rk in range(n+1) if r1 + ... + rk = n]
For a general number of $r$'s and any $n$