Exact formulae for ranks of partitions | Synapse