MathDB
Serbian additional TST 2013

Source:

May 22, 2015
number theory

Problem Statement

We call polynomials A(x)=anxn+...+a1x+a0A(x) = a_n x^n +. . .+a_1 x+a_0 and B(x)=bmxm+...+b1x+b0B(x) = b_m x^m +. . .+b_1 x+b_0 (anbm0a_n b_m \neq 0) similar if the following conditions hold: (i)(i) n=mn = m; (ii)(ii) There is a permutation π\pi of the set {0,1,...,n}\{ 0, 1, . . . , n\} such that bi=aπ(i)b_i = a_{\pi (i)} for each i0,1,...,ni \in {0, 1, . . . , n}. Let P(x)P(x) and Q(x)Q(x) be similar polynomials with integer coefficients. Given that P(16)=32012P(16) = 3^{2012}, find the smallest possible value of Q(32012)|Q(3^{2012})|.
Proposed by Milos Milosavljevic