The question is pretty straight forward... Determine if 177 is prime using the prime number theory.
I am confused what type of answer to give. The question doesn't seem to be asking for you to explore all $n < \sqrt{177}$ and check the gcd. This is the only way I know to assert a number is prime.
What other options are there?
There are some divisibility criteria that you can apply.
For example, an integer is divisible by $2$ if it ends with an even digit, and it is divisible by $3$ if the sum of digits is divisible by three, and it is divisible by $5$ if it ends with a $5$ or a $0.$
In this case you have $1+7+7=15,$ which is divisible by three, so $177$ is not prime.