Math Problem Statement

The Cartesian product A×A is defined. Find the sum of all the elements

Solution