If it can not be divided by anything as a whole.
==============new answer...
The above is true, but "primeness" testing has become a major research branch of theoretical math. If I give you a large number, (eg: 123,456,789,012,345 ) can you prove it is or is not prime??
If you figure out a way, apart from attempting to divide it by all its potential factors like 2, 3, 4, 5, etc, etc. be sure to write it up and have it notarized, certificated, recorded, and then publish it. You will be the hero (or heroine) of the mathematical world. Also some of the eminent mathematical theoreticians will probably want to kill you.
Chat with our AI personalities
Figure out all of the factors of that number. If the only factors are 1 and itself, then its prime. If its not just one and itself, its composite.
The previous prime number is 23,456,787,559 and the next prime number is 23,456,787,593.
Prime factorization is when you find all the prime factors of a number.
Find a prime number that is even. 2.
It is.
The prime factors of a squared number are the prime factors, if any, of its square root.