The primes are often thought of as behaving like a random sequence, but there are patterns in their