Not sure if this was answered or not, but if you are mixing two unleaded fuels or two leaded fuels, then you can mix a gallon of 100 octane and a gallon of 90 octane and end up with two gallons of 95 octane.
If you mix a leaded fuel and an unleaded fuel then the equation doesnt work.
Is is true that an octane number is based on RPM. Octane is a knock rating. To get the final octane (like what you see at a gas station), the fuel is run through a motor at 600 rpm and the engine knock is quantified. This is the RON. Then the fuel is run through the motor at 900 rpm and the engine knock is quantified. This is the MON.
The RON is added to the MON and divided by 2. Giving the final octane rating. This is why you see (R+M)/2 printed on the gas pumps.