Classes of prime numbers