2013 Mock AIME I Problems/Problem 4

Revision as of 07:08, 30 July 2024 by Thepowerful456 (talk | contribs) (category)

Problem

Compute the number of ways to fill in the following magic square such that:

1. the product of all rows, columns, and diagonals are equal (the sum condition is waived),

2. all entries are nonnegative integers less than or equal to ten, and

3. entries CAN repeat in a column, row, or diagonal.

[asy] size(100); defaultpen(linewidth(0.7)); int i; for(i=0; i<4; i=i+1) { draw((0,2*i)--(6,2*i)^^(2*i,0)--(2*i,6)); } label("$1$", (1,5)); label("$9$", (3,5)); label("$3$", (1,1)); [/asy]

Solution

$\boxed{342}$.

See also