Timeline for Count number of balls in each bin, given a two-element sequence of balls and bins
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 21, 2021 at 4:41 | comment | added | JimB | Very nice. If you insert /. {2, x___} :> {3, 2, x} /. {x___, 2} :> {x, 2, 3} just before SequenceSplit, then I think you'll get the answer that matches that of @ciao. | |
| Apr 19, 2021 at 15:02 | comment | added | apg | Ok, so add 3's where there are no 1s, then replace them with the count 0 at the end. Thank you. | |
| Apr 19, 2021 at 14:55 | history | answered | AsukaMinato | CC BY-SA 4.0 |