https://dev.to/simongreennet/the-maximum-divisible-4mm6