Hello,
Let's a=279-i with i=0 to 16
Let's b=312-i with i=0 to 16
Let's c=697-i with i=0 to 16
Let's d=708-i with i=0 to 16
I don't know how to solve this but
If n is the commun divider, it must be <√279=16.70...
Remainder must also be < n
We have to find the maximun of (a-i)∧(b-i)∧(c-i)∧(d-i) =11 (if i=4 or i=15 )
279=1125+4
312=1128+4
697=1163+4
708=1164+4
When i=15 ,n=11 but i must be<11
so only one solution n=11 and remainder=4