Partition functions and automorphic forms. (2020)