Ответ:

\(30=2\cdot3\cdot5,\quad 42=2\cdot3\cdot7\).

\(\text{НОД}=2\cdot3=6,\quad \text{НОК}=2\cdot3\cdot5\cdot7=210\).

Ответ: НОК(30, 42) = 210; НОД(30, 42) = 6.