Practice problem
What Are Permutations and Factorials?
===
The Chaotic Canal is the new exciting waterslide in Euler's Eddy, a waterpark for numbers. It brings the riders down into a large whirlpool which mixes them up before spitting them back out. Riders can come out in a different order than they started from.
Four friends, , , , and all go down one after the other. Due to the whirlpool, they exit in a random order. For example, they could exit . If or appears with no numbers or variables on one of their sides, treat it as if there's a zero there. For example, .
Find the sum of the values for every permutation of equation that can come out of the waterslide.