Two and three are the only prime numbers next to each other.
There is a simple method to find a list of prime numbers.
The set of prime numbers has been proven to be large.
And the function is, find the next prime number that's greater than.
Then, the computer must determine if the factors are prime numbers.
Does it have a table with a lot of prime numbers?
And the reason is there are too many prime numbers to do that.
And in fact there are books of prime numbers that you can find these days.
Another interesting case is the two relatively prime numbers 14157 and 5950.
The same prime number can be used several times, as in the example with 12 above.