The Herfindahl-Hirschman-Index is defined as: $$HHI=\sum^n_{i=1}s^2_i$$