This directory contains magma source files related to the paper "Modular curves of prime power level with infinitely many rational points", by Andrew V. Sutherland and David Zywina. These include: GL2Invariants.m -- functions to compute various invariants of subgroups of GL(2,Z/NZ) g0groups.m -- data and code related to the genus 0 admissible groups (of prime power level) g1groups.m -- data and code related to the genus 1 admissible groups (of prime power level) ModularFunctions.m -- code related to computing Siegel functions and Hauptmoduls RationalFunctions.m -- code for computing and interpolating ratinoal functions ComputeHauptmoduls.m -- computes the Hauptmoduls needed for the genus 0 admissible groups JacobianRank.m -- code to compute the isogeny class and rank of X_G for admissible G of genus 1 Verifications.m -- code to verify all the computational assertions made in the paper GaloisImages.m -- a complete list of the subgroups of GL(2,\hat{Z}) of prime power level that occur as rho_E(G_Q) for infinitely many E/Q with distinct j(E)