where T (c i , c j ) represents the Tanimoto similarity between the molecular fingerprints (in this case, hashed Morgan fingerprints) of molecules i and j, and N is the number of molecules considered in the calculation. This formula inverts the average Tanimoto similarity across all unique pairwise combinations into a measure of diversity, with a higher score indicating greater chemical diversity within the set.