Problem

Source: RMM Shortlist 2023 A2

Tags: interpolation, algebra, Polynomials, RMM Shortlist



Fix an integer $n \geq 2$ and let $a_1, \ldots, a_n$ be integers, where $a_1 = 1$. Let $$ f(x) = \sum_{m=1}^n a_mm^x. $$Suppose that $f(x) = 0$ for some $K$ consecutive positive integer values of $x$. In terms of $n$, determine the maximum possible value of $K$.