mmm4444bot
Super Moderator
- Joined
- Oct 6, 2005
- Messages
- 10,962
From a University of Washington web site. (I changed the name to Polly.)
Polly is thinking of a polynomial P(x).
She tells you that all of the coefficients are non-negative integers, and, if you query her about any integer value x, she will the tell you the value of P(x).
However, she won't tell you anything else about the polynomial — you don't even know the degree.
She brags that she has a "really hard" polynomial that you won't be able to figure out, even after many queries.
How can you surprise Polly?
I'll post one solution, in a few days.
Polly is thinking of a polynomial P(x).
She tells you that all of the coefficients are non-negative integers, and, if you query her about any integer value x, she will the tell you the value of P(x).
However, she won't tell you anything else about the polynomial — you don't even know the degree.
She brags that she has a "really hard" polynomial that you won't be able to figure out, even after many queries.
How can you surprise Polly?
I'll post one solution, in a few days.