ams4221: advanced mathematics