I read on Ask Leo's site that it varies from computer to computer, and you have to check with the manufacturer. On some computers you can't mix chips, on others you can mix as long as you have pairs next to each other, on others you can mix as long as you stagger the pairs.
On Crucial.com they give you the details for any specific computer.