Pātuhitia tēnei: Discovering patterns in mathematics and poetry