Find the largest prime number required to test as a divisor to determine if the following number is a prime number. Also determine if the number is a prime number: 117


Given: The number 117

To find: The largest prime number required to test as a divisor to determine if the following number is a prime number

Solution:

To check if a number is prime, we should divide the number with prime numbers 2,3,5,7,11.... and see if any one of them is divisible.

This process we have to continue till the square root of the given number.

Square root of 117 < square root of 121 = 11.

So we have to check up to 11, to see whether 117 is a prime number or not

Let us start with 2. 117 is not divisible by 2.

Next 3. 117 is divisible by 3, so it is not a prime number


Updated on: 10-Oct-2022

138 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements