Prime numbers have many unique properties. For example, the prime number p has only two divisors, namely 1 and p, and the number of prime numbers is infinite. Among all prime numbers greater than 10, the unit number is only 1, 3, 7, 9, so it is very easy to distinguish prime numbers or know them, and you can master the basic laws.
There is a basic theorem in elementary mathematics that any natural number greater than 1 is either a prime number itself or can be decomposed into the product of several prime numbers, and this decomposition itself is unique. So prime numbers are often used in cryptography now, and the process of decryption is actually the process of finding prime numbers.
Extended data:
Prime numbers are used in cryptography. The so-called public key is to add a prime number to the information to be transmitted when encoding, and then transmit it to the receiver after encoding. If anyone receives this information without the key possessed by the receiver, the process of decryption (actually the process of finding prime numbers (decomposing prime factors)) will be too long, even making it meaningless to obtain information.
In the design of automobile gearbox gears, the number of teeth of two adjacent gears is designed as prime numbers, so as to increase the least common multiple of the number of encounters and meshing of two identical teeth in two gears, which can enhance durability and reduce failures.
The relationship between the biological growth cycle of pests and the use of pesticides has also been proved. Experiments show that it is the most reasonable to use pesticides many times: they are all used in the climax of pest reproduction, and it is difficult for pests to produce drug resistance.
Missiles and torpedoes that change irregularly in the form of prime numbers are difficult for the enemy to intercept.
The life cycle of most organisms is also prime (in years), which can minimize the chance of encountering natural enemies.
Baidu encyclopedia-prime number