Skip to main content
5 events
when toggle format what by license comment
Sep 13, 2022 at 23:58 comment added az123p @userrandrand thanks for the link! I'll test it out to compare to my current result.
Sep 13, 2022 at 8:28 comment added userrandrand @az123p Great that you found a way to generalize it. There is also a resource function in the wolfram repository here. There also seems to be a package that does this but according to this answer the package is deprecated and cause shadowing of symbols but it might still work. The package is Combinatorica but the resource function is probably better (from wolfram staff and from 2021)
Sep 12, 2022 at 21:07 comment added az123p Exactly what I needed, and the extra resources were really helpful for generalizing the code for any target value. Thanks!
Sep 12, 2022 at 21:06 vote accept az123p
Sep 12, 2022 at 11:39 history answered user293787 CC BY-SA 4.0