Two topics in arithmetic combinatorics