算法学习笔记——最大公约数、最小公倍数、素数判断 最大公约数、最小公倍数 public static int gcd(int a,int b) { if(b==0)return a; return gcd(b,