Pianists sometimes do have to play white keys with their fingers between the black keys. For example, if you want to play E flat major (Eb-G-Bb), you might put your thumb on Eb, your little finger on Bb, and then your middle finger on G, right up the back between the black keys. As the keys are parallel, the width of the white keys at the back is the same as the width all the way down to the front of the black keys. Apart from the need to fit the hand to the keyboard, a piano key is a lever and it gives more resistance further back, which may be useful to the pianist in controlling the attack and dynamics.
If you place the black keys right in the middle, as you suggest, the space between them is too narrow for a finger, while there is wasted space for those white keys that only have one adjacent black key. So piano makers push the C# and D# keys and the F# and A# keys further apart.
The mathematical problem discussed in the article is that there is no way to distribute the space equally between the keys, so various compromises are considered. The "B/12 solution" is practical and widely used. The suggested "optimum arrangement" is amusing to consider but unlikely to be worth the trouble.