题目内容给定整数a,b,na,b,na,b,n,定义f(x)=min(x,b)+gcd(x,b)f(x)=min(x,b)+gcd(x,b)