Pātuhitia tēnei: Integrability and nonintegrability of dynamical systems