← Back to all posts
Math puzzle: secret formula
🧮

Math puzzle: secret formula

Here’s a clever puzzle: how can you uncover a secret polynomial with just two queries? First, ask for its value at x = 1 to find the sum of its nonnegative whole-number coefficients. Then choose a power of 10 larger than that sum, and the result neatly reveals the coefficients in order, including zeros for missing terms. And here’s a bonus twist: querying at x = π can, in principle, reveal the entire polynomial in one go.
Read the original article ↗
Share