I think the intention was to say only that it’s “an accident” that they are double quadratic numbers, not that they have the exact values they have. Which is intended to say that the reason is different even if the result is the same.
I suppose the only way to get quadratic numbers "non-accidentally" would be to have the electrons stand in n×n square formation.
7777
5557
3357
1357