Tricky, tricky

In a certain game, the first player secretly chooses an 2015 2015- dimensional vector a = ( a 1 , a 2 , . . . , a 2015 ) a = (a_1, a_2, . . . , a_{2015}) all of whose components are integers.

The second player is to determine a a by choosing any 2015 2015- dimensional vectors x i x_i , all of whose components are also integers.

For each x i x_i chosen, and before the next x i x_i is chosen, the first player tells the second player the value of the dot product x i a x_i \cdot a .

What is the least number of vectors x i x_i the second player has to choose in order to be able to determine a a ?


The answer is 2.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Two x i x_i are sufficient.

Pick x 1 = a x_1 = a and you learn what a a a \cdot a is.

Then pick x 2 = ( 1 , M , M 2 , M 3 , , M 2015 ) x_2 = (1, M, M^2, M^3, \ldots, M^{2015}) where M > 2 a a = 2 Q M > 2\sqrt{a \cdot a} = 2Q .

Then a x 2 = a 1 + a 2 M + + a 2015 M 2015 a \cdot x_2 = a_1 + a_2M + \ldots + a_{2015}M^{2015} .

The a i a_i can be determined by constructing

N = a x 2 + Q ( 1 + M + + M 2015 ) = ( a 1 + Q ) + ( a 2 + Q ) M + + ( a 2015 + Q ) M 2015 N = a \cdot x_2 + Q(1 + M + \ldots + M^{2015})= (a_1 + Q) + (a_2 + Q)M + · · · + (a_{2015} + Q)M^{2015} .

Writing N N in base M M produces the i i- th digit a i + Q a_i + Q from which we subtract Q Q to get a i a_i .

But if we knew a, we wouldn't be guessing. You need 2015, because you're solving a system of equations in 2015 variables. (Or you would, if you didn't think to use the obvious strategy of guessing the columns of I_2015)

Justin Eberlein - 5 years, 8 months ago

How can you pick x 1 = a x_1 = a if you don't know a a ?

Ivan Koswara - 5 years, 8 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...