wu :: forums
« wu :: forums - Predict the polynomial »

Welcome, Guest. Please Login or Register.
Nov 24th, 2024, 11:21pm

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   easy
(Moderators: ThudnBlunder, Eigenray, towr, SMQ, william wu, Icarus, Grimbal)
   Predict the polynomial
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Predict the polynomial  (Read 777 times)
Neelesh
Junior Member
**





   


Gender: male
Posts: 147
Predict the polynomial  
« on: Sep 22nd, 2005, 6:06am »
Quote Quote Modify Modify

I have a polynomial P(x) with non-negative integral coefficients. You have to guess the polynomial. To do that you can ask me the value of polynomial for various values of x.
 
How many 'x' s you need so that you can determine the polynomial accurately?
 
Note that you donot know the degree of the polynomial in advance
 
however, you know that all coefficients are non-negative integers
IP Logged
Barukh
Uberpuzzler
*****






   


Gender: male
Posts: 2276
Re: Predict the polynomial  
« Reply #1 on: Sep 26th, 2005, 5:11am »
Quote Quote Modify Modify

That's an interesting question!
 
hidden:
If an upper bound for the coefficients is known, one question suffices. Otherwise, n+2 questions are probably needed for the n-degree polynomial
IP Logged
Neelesh
Junior Member
**





   


Gender: male
Posts: 147
Re: Predict the polynomial  
« Reply #2 on: Sep 26th, 2005, 5:26am »
Quote Quote Modify Modify

An upper bound for coefficients is not known in advance.
 
hidden:
However, you can find the upper bound in one attempt
 
That means we need total two values of x.
IP Logged
Barukh
Uberpuzzler
*****






   


Gender: male
Posts: 2276
Re: Predict the polynomial  
« Reply #3 on: Sep 26th, 2005, 5:34am »
Quote Quote Modify Modify

Correct! How stupid of me!
 
And what a nice problem, Neelesh!  Cheesy
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