wu :: forums
« wu :: forums - A Polynomial Mystery »

Welcome, Guest. Please Login or Register.
Dec 22nd, 2024, 10:23pm

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   hard
(Moderators: towr, Grimbal, Eigenray, william wu, SMQ, ThudnBlunder, Icarus)
   A Polynomial Mystery
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: A Polynomial Mystery  (Read 1382 times)
inexorable
Full Member
***





   


Posts: 211
A Polynomial Mystery  
« on: Nov 1st, 2005, 12:10am »
Quote Quote Modify Modify

Alice: I'm thinking of a polynomial with nonnegative integer coefficients. Can you tell me what it is?
 
Bob: Well, I need more info than that. Can I ask you for some values of the polynomial?
 
Alice: That seems reasonable. How many would you like?
 
Bob: Well, N + 1 would be nice, where N is the degree of your polynomial, for then I could just solve N + 1 equations in N + 1 unknowns.
 
Alice: That would take too long, both for me and for you. Moreover, you don't know the degree and I don't want to reveal it. But I am willing to tell you two values of the polynomial for integer arguments that you choose.
 
Can Bob determine Alice's polynomial P(x) asking Alice only twice for integer values of P(x)?
IP Logged
Grimbal
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 7527
Re: A Polynomial Mystery  
« Reply #1 on: Nov 1st, 2005, 1:10am »
Quote Quote Modify Modify

The answer is : yes.
 
If it were not, you wouldn't post the question here, would you?
 
So the real question is: how?
IP Logged
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: A Polynomial Mystery  
« Reply #2 on: Nov 1st, 2005, 1:32am »
Quote Quote Modify Modify

I'm almost positive the same question came up before, but I can't for the life of me find it..
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
Grimbal
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 7527
Re: A Polynomial Mystery  
« Reply #3 on: Nov 1st, 2005, 2:07am »
Quote Quote Modify Modify

Here: click!
IP Logged
dot star
Guest

Email

Re: A Polynomial Mystery  
« Reply #4 on: Nov 1st, 2005, 7:12am »
Quote Quote Modify Modify Remove Remove

can anyone please explain me how is it possible by knowing the value P(x) for two values of x?
IP Logged
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: A Polynomial Mystery  
« Reply #5 on: Nov 1st, 2005, 7:59am »
Quote Quote Modify Modify

It has to do with the fact that all coefficients or nonnegative. It's a lot more restrictive than it seems.
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
inexorable
Full Member
***





   


Posts: 211
Re: A Polynomial Mystery  
« Reply #6 on: Nov 1st, 2005, 8:36am »
Quote Quote Modify Modify

ok here's the solution
Since all of the coefficients are nonnegative integers, P(1) is at least as big as the largest coefficient. Then P(k) for large enough k gives an answer which, in base k, the coefficients are listed. Note k could be as small as P(1) + 1, or more easily as the next power of 10 for easy calculation. Wink
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board