We determine the modified elliptic genus of an M5-brane wrapped on various
one modulus Calabi-Yau spaces, using modular invariance together with some
known Gopakumar-Vafa invariants of small degrees. As a bonus, we find
nontrivial relations among Gopakumar-Vafa invariants of different degrees and
genera from modular invariance.