-2と-5の公約数は±1ですか?
約数は自然数の範囲内で考えられることが多いですが、特に制約がないのならそれで合っています。
Users viewing this question are also looking at these questions 😉