The polynomial f(z)=az2018+bz2017+cz2016 has real coefficients not exceeding 2019, and f(21+3i)=2015+20193i. Find the remainder when f(1) is divided by 1000.
Your answer
Integer from 0 to 999
Show solution
Solution
Let ω=21+3i=cos60∘+isin60∘, a primitive sixth root of unity. Since 2016=6⋅336, we get ω2016=1,ω2017=ω, and ω2018=ω2=2−1+3i. Therefore f(ω)=aω2+bω+c=(c+2b−a)+2(a+b)3i.
Matching imaginary parts, 2a+b=2019, so a+b=4038. Since a≤2019 and b≤2019, this forces a=b=2019. Matching real parts then gives c+0=2015, so c=2015.
Hence f(1)=a+b+c=4038+2015=6053, whose remainder upon division by 1000 is 53.