Pātuhitia tēnei: Discrete mathematics with applications