a) Let P(x)=cnxn+cn−1xn−1+⋯+c1x+c0−2015, then P(α)=0. Suppose that when we divide P(x) by x2+x−5, we have a quotient Q(x) and the remainder R(x)=Ax+B with integers A,B. Then
0=P(α)=(α2+α−5)Q(α)+Aα+B=Aα+B.
Since α is irrational, it follows that A=B=0. So
P(x)=Q(x)(x2+x−5).
When x=1, we have P(1)=−3Q(1). This implies that
c0+c1+⋯+cn≡2015−3Q(1)≡2(mod3).
b) Suppose that (c0,c1,…,cn) is the set of nonnegative integers such that
(1) c0+c1α+⋯+cnαn=2015; and
(2) c0+c1+⋯+cn is minimal.
We note that 0≤ci≤4 for all i=0,1,…,n−2, since otherwise, the set (c0,…,ci−1,ci−5,ci+1+1,ci+2+1,ci+3,…,cn) also satisfies (1) and has a smaller sum, which is a contradiction.
Let Q(x)=an−2xn−2+⋯+a0. Since P(x)=Q(x)(x2+x−5), we have
c0−2015c1c2c3…=−5a0=−5a1+a0=−5a2+a1+a0=−5a3+a2+a1
Since ci∈{0,1,2,3,4}, it follows from the first line that c0=0 and a0=403. From the second line, we have c1=3,a1=80. In general, ci+1=MOD(ai+ai−1,5) and ai+1=DIV(ai+ai−1,5). Therefore, we have
{a0,a1,…,a11}{c0,c1,…,c11}={403,80,96,35,26,12,7,3,2,1,0,0}={0,3,3,1,1,1,3,4,0,0,3,1}.
Hence, the minimum value of c0+⋯+cn is
0+3+3+1+1+1+3+4+0+0+3+1=20.