Why so many elections in 2024? Chalk it up to the ‘beauty of math,’ says professor