The Method of Formal Series: Applications to Nonlinear Beam Dynamics and Invariants of Motion | Synapse