Identifying equal sums and products