A set of size N=20, has total number of subsets equal to 2^N = 1.05 million. You must have had other degrees of freedom to bump that to 1E26.
That's only for two way relationships, you need N way relationships, which is N^N.
That's only for two way relationships, you need N way relationships, which is N^N.