n is a factor of 16 List out factor of 16: 1 * 16 2 * 8 4 * 4 From the list above, we take the 5 unique factors and build a set for n: n = {1, 2, 4, 8, 16}