We are given (1−x+x3)n=∑j=03najxj and need to find ∑j=0[3n/2]a2j+4∑j=0[(3n−1)/2]a2j+1.
Substituting x=1: (1−1+1)n=1=∑j=03naj. This gives ∑a2j+∑a2j+1=1.
Substituting x=−1: (1+1−1)n=1=∑j=03naj(−1)j. This gives ∑a2j−∑a2j+1=1.
Adding these two equations: 2∑a2j=2, so ∑a2j=1. Subtracting: 2∑a2j+1=0, so ∑a2j+1=0.
Therefore, the required expression equals ∑a2j+4∑a2j+1=1+4(0)=1.