Problem

Source: Tournament of towns

Tags: algebra, polynomial, two variables



The polynomial P(x,y) is such that for every integer n >= 0 each of the polynomials P(x,n) and P(n,y) either is a constant zero or has a degree not greater than n. Is it possible that P(x,x) has an odd degree?