To find whether a number is prime or not, check if it is divisible by any prime number less than its square root.
First, notice that:
![\sqrt[]{97}\approx9.84](https://img.qammunity.org/2023/formulas/mathematics/college/q2rpae8warghfh691nxu9jt7sgdqbvn9w1.png)
The prime numbers lower than 9.84, are:
![2,3,5,7](https://img.qammunity.org/2023/formulas/mathematics/college/ssk5g24fvx1d7qooquc5ijmb55oyslyvff.png)
Check for divisibility for each of those prime numbers:
97 is not divisible by 2 since its last digit, 7, is an odd number.
97 is not divisible by 3 since 9+7=16, which is not divisible by 3.
97 is not divisible by 5 since its last digit, 7, is neither 5 or 0.
97 is not divisible by 7, since 97 is between the multiples of 7 91 and 98.
Therefore, 97 is a prime number.