1) Greatest number which divides number x, y and z leaves the remainder a, b, c respectively
then greatest no will be H.C.F (x-a,y-b,z-c)
2) Greastet no which divides number x, y and z leaves the same
then greatest no will be H.C.F of |x-a|,|y-b|,|z-c|
3) least number which divides number x, y and z leaves the remainder a, b, c respectively
then Least number will be L.c.m of (x,y,z)-k where k=x-a=y-b=z-c
4) least number which divides number x,y and z leaves the same remainder respectively
then Least number will be L.c.m of (x,y,z)+k