Problem

Source: 2013 Baltic Way, Problem 2

Tags: algebra, polynomial



Let $k$ and $n$ be positive integers and let $x_1, x_2, \cdots, x_k, y_1, y_2, \cdots, y_n$ be distinct integers. A polynomial $P$ with integer coefficients satisfies \[P(x_1)=P(x_2)= \cdots = P(x_k)=54\] \[P(y_1)=P(y_2)= \cdots = P(y_n)=2013.\] Determine the maximal value of $kn$.