Use "公約数" in a sentence

1. (問題) 1071 と 1029 の最大公約数を求める。