PUZZLE IBM-216
RoboCats falling by cubic polynomial
IBM Research · Ponder This · 2016-04
IBM Ponder This #216 · April 2016
Let p(x)=x**3-300*x**2+a*x+b be a cubic polynomial with unknown parameters a and b that has three positive integers roots.
Based on the surprising fact that cats falling from lower floors have been found to suffer greater injury than those falling from higher floors (http://www.damninteresting.com/high-rise-syndrome), IBM has built a robo-cat that when experimentally dropped from a height of n stories will either disintegrate (if p(n)>=0), or leave the experiment exactly the same way it entered it (if p(n)<0).
If you have only seven such robo-cats, find an algorithm to predict the fate of a fall from every floor with no more than 16 experiments.
No (robo)cats were harmed while preparing this challenge :-)
Solution
Best opened after a real attemptTo be added.