Artin reciprocity and Mersenne primes