Most numbers behave according to simple, clear rules. However, prime numbers are a real anomaly: they appear wherever they want to, without prior warning, in an apparently chaotic fashion and without following any pattern. And the worst of it is that they cannot be ignored – they are essential to arithmetic and, to a certain extent, all mathematics.