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
![]() | 2 | None |
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
![]() | 3 | None |
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