Notice that an+1+an=3(an+an−1), and let bn=an+an−1, b>1. Then b2=11 and bn=11⋅3n−2, n>1. Using this gives
(1+x)P(x)=a1+i=2∑∞aixi+i=2∑∞ai−1xi==a1x+i=2∑∞bixi==x+911i=2∑∞(3x)i==x+911⋅1−3x9x2==1−3x8x2+x
when x∈]−31,31[. Hence
P(x)=(1−3x)(1+x)8x2+xfor all x∈]−31,31[,
and
P(y1)=(y−3)(y+1)8+y=(y−3)(y+1)(y+1)+7=(y−3)(y+1)(y−3)+11
for all y∈Z and ∣y∣>3. Assume P(y1)∈Z for some y∈Z and ∣y∣>3. Then y+1∣7 and y−3∣11, and it is easy to see that y=−8 is the only possibility. Since P(−81)=0, y=−8 is indeed a solution.