The strangeness of boron as an element is that it generally behaves differently than other members of its family. Instead of acting like a metal typical of group 13, it forms structures that are rarely observed in those elements. It appears that boron tries to adopt forms that are typically seen in carbon compounds, but it lacks the necessary number of electrons to do so.
My question pertains to a structure that is commonly found in "metal-rich" borides which have formulas between MB2 and MB4. Many of these compounds adopt a layered structure in which boron forms a graphene-like hexagonal layer, and the metal atoms are sandwiched in between the hexagonal layers. In terms of hardness, these compounds (like AlB2, TiB2, and CrB4), lie close to or just above the superhard cutoff.
My question is the following; since boron cannot form graphene-like layers because it is electron deficient when compared to carbon, how many electrons does boron need from the metal atoms to be able to form these hexagonal sheets in metal borides?