Equation showing step 1: calculating the religious diversity index