I got one question which says;
Write a formula corresponding to: 1. “a is the greatest common divisor of b and c” 2. “a is the least common multiple of b and c” Use logical symbols, brackets, · and =. Any other symbols need to be defined.
it seems easy but can someone help me with that ?
Do it in steps:
Substituting the third step into the fourth, we get $$(\exists k_1\;a\cdot k_1 = b) \land (\exists k_2\;a\cdot k_2 = c) \land (\forall x\;((\exists k_1\;x\cdot k_1 = b) \land (\exists k_2\;x\cdot k_2 = c)) \implies x \le a)$$ which represents "$a$ is the greatest common divisor of $b$ and $c$".
There are variations on each of these steps, variations in the notation, and you might be working with a different set of primitives allowed, so you should adjust this to your own needs. For example, if you're not allowed $\le$, then you should proceed from step 3 to trying to write a statement like
which is an equivalent characterization of GCD.
Writing up LCM is more or less the same, except you stand on your head while you do it.