I have a series of constraints: A, B, C, etc. Any number is valid if when divided by ALL of them (one at a time) will result in an integer.
Is there any reliable generic way to combine the series A, B, C etc to a common number that is the LEAST possible common value that will serve as a single constraint so I don't have to perform the validation check on all of the constraints?
A practical example: A,B,C = 2,4,5
Manually I can figure out that the common constraint is 20. That's when they first intersect so to speak.
A, B, C etc can be ANY number strictly greater than 0, including non integers.
Is this at all possible?