In this article that talks about some history of hamilton
http://plus.maths.org/content/curious-quaternions
There is a snippet that says this:
Multiplication is very sneaky. You can only set up rules for multiplication that let you divide in dimensions 1, 2, 4 and 8. This is just a mysterious fact about the universe. Well, if you study maths it's not mysterious because you can see exactly why, but it's mysterious in the sense that when you hear about it first it just sounds completely crazy!
What are they talking about here? What type of division is possible in 2 dimensions but not 3? Could you give me an example of the division in two dimensions?
The complex number $a+bi$ can be identified with the ordered pair $(a,b)$ of reals. So the set $\mathbb{C}$ of complex numbers (these include the reals) can be identified with $\mathbb{R}^2$, the $2$-dimensional space over the reals.
And we can indeed divide a complex number $z$ by a non-zero complex number $w$, and obtain a complex number. The division formula is fairly simple: to calculate $\frac{a+bi}{c+di}$, multiply top and bottom by $c-di$. After a little work we arrive at $\frac{ac+bd}{c^2+d^2}+\frac{bc-ad}{c^2+d^2}i$.
This division turns out to have most of the same nice formal properties as ordinary division of real numbers.
Remark: Already if we go on to $4$, we lose some important properties shared by the reals and the complex numbers. For as you know from the article, multiplication in the quaternions is not commutative. The situation gets even worse at $n=8$: in the octonions, multiplication is not associative.