In the top row of an 8 by 8 chessboard, Hamza writes the values 1, 2, 4, 8, 16, 32, 64, 128. In the leftmost column, Hamza writes the values 1, 3, 9, 27, 81, 243, 729, 2187. In each of the remaining empty squares, Hamza writes the product of the leftmost number in that square's row and the topmost number in that square's column.

What is the sum of all the numbers on the chessboard?

Guest May 16, 2022