Hacker News new | ask | show | jobs
by brianpgordon 4651 days ago
With the constraint that none of the coefficients are negative there's no element of luck.
1 comments

    f(x) = x^2 + 11x  
OR f(x) = x

    f(10) = 110

     = 1 * 10^2 +  1 * 10^1
     = 0 * 10^2 + 11 * 10^1

    f(0) = 0
     = 1 * 0^2 +  1 * 0^1
     = 1 * 0^2 + 11 * 0^1