Ответ:

А) \(504=2^3\cdot3^2\cdot7\), \(756=2^2\cdot3^3\cdot7\). Поэтому \(\text{НОД}=2^2\cdot3^2\cdot7=252\), \(\text{НОК}=2^3\cdot3^3\cdot7=1512\).

Б) \(936=2^3\cdot3^2\cdot13\), \(1404=2^2\cdot3^3\cdot13\). Поэтому \(\text{НОД}=2^2\cdot3^2\cdot13=468\), \(\text{НОК}=2^3\cdot3^3\cdot13=2808\).

Ответ: А) НОД = 252, НОК = 1512; Б) НОД = 468, НОК = 2808.