General solution for classical sequential growth dynamics of causal sets | Synapse