Math, asked by krishnanandrav9638, 10 months ago

Find smallest prime which divides both of themgiven two numbers a and b, find the smallest prime number that divides both of them or state that such number does not exist. Inpu

Answers

Answered by simranjeetsimranjeet
0

Answer:

Step-by-stepGiven a number N, find the smallest prime divisor of N.

Examples:

Input: 25

Output: 5

Input: 31

Output: 31 explanation:

Answered by kmanoj89200
0

Answer:

Answer is 1

Because 1 divided all numbers

and you can also called 2 is the smallest prime number

Similar questions