Let's say that I have two ordered sets of numbers and . I'm trying to figure out the number of possible ways to combine these two sets into one without breaking the ordering of the two sets.
So for instance, , , and are valid combinations, but isn't. How do I figure out the number of valid combinations? This feels like something I should remember from college, but I'm drawing a blank. It feels somewhere in between a combination and a permutation.