The expected value of the number of corner/edge pairs in a random position (counting a 3x1x1 block as two pairs) is exactly one. This is because any of the 24 possible pairs has a chance 1/24 of occurring in a random scramble. Focusing, for definiteness, on the red/blue/white corner and red/blue edge, once the corner is placed, there is a 1/12 chance that the edge will go in the right slot to make a pair, and a 1/2 chance that once there, it will have the correct orientation.
So, if we sample
n random cubes, then each corner edge pair will appear in roughly
n/24 of them, and since there are 24 possible pairs, the expected number of corner/edge pairs is exactly one.
We can use this calculation to confirm Stefan's estimate earlier in the thread for the number of positions with no corner/edge pairs. If the corner/edge pairings were independent, the odds of no corner edge pairs would be
(23/24)^24 = .360,
which is not far from 1/e = lim n->inf [(n-1)/n]^n = .367
One way to calculate the exact number by hand, which would be rather tedious, is what Chris already suggested.
The number of positions with no corner/edge pairs is the total number of positions minus the number with at least one corner edge pair.
For a given corner edge pair, there are 1802166803103744000 positions that contain it (1/24 of the possible positions). Multiplying by 24, we get the 43 quintillion cases with at least one pair, except that we've double-counted anything that has two pairs, and triple counted anything with three pairs, etc.
So we need to find how many positions have two pairs. We could do this by breaking it down into three cases:
- the two pairs have two corners and two edges
- the two pairs have two corners and one edge
- the two pairs have one corner and two edges
For each of these, it is not too difficult to count the total possibilities. For example, for two corners and one edge, we first note there are twelve such pairings. Each pairing has six free corners and eleven free edges, making
12*6!*11!/2*2^10*3^5 total such positions.
We could continue for the other cases. But in doing this, we triple count positions with three pairs, and 6-fold count positions with four pairs, etc.
So we'd have to count the number of ways to make three pairs, which involves analyzing more topologies, such as three corners three edges, three corners two edges, two corners three edges, etc.
Eventually, we could analyze everything all the way out to 24 pairs, and cascade our way back.
This sounds tedious enough that I'm not interested in doing it, and makes me think there is probably a better, more clever method possible.