Math, asked by jenifersima1590, 1 year ago

You are given two positive numbers a and

b. you need to find the maximum valued integer x such that:x divides a i.e. a % x = 0x and b are co-prime i.e. gcd(x,

b.= 1for example,a = 30b = 12we returnx = 5

Answers

Answered by shovanshdwivedi
0
yes we return 5 value you had
Similar questions