Text this: Closed-form expression for the characteristic polynomial of the multiple pendulum