Prime numbers are very important in mathematics and computer science. Very long numbers are hard to solve. It is difficult to find their prime factors, so most of the time, numbers that are probably prime are used for encryption and secret codes. For example: