Consider the following grid:
Taking each row and column of the grid as a 9-digit number, can you write a composition for each value?
A composition is an arithmetic expression that uses each of the digits 1 to 9 once, and only once, and one or more standard arithmetic operators: (+, -, *, /, ^). Division (including negative exponentiation) must always be exact, ie: result in an integer. You may join digits together (but not all 9), and parenthesize as necessary.
Examples:
- 123475896 = 9 * 34 * 718 * 562
- 123475968 = 3456 * (189^2 + 7)