Given z2+z+1=0, the roots are the non-real cube roots of unity. Hence
z3=1andz=1,with1/z=z2.
For every positive integer k we have zk1=(1/z)k=(z2)k=z2k. Therefore
(zk+zk1)2=(zk+z2k)2.
Because z3=1, any power of z depends only on the remainder of the exponent when divided by 3:
z3m=1,z3m+1=z,z3m+2=z2.
Compute each term for k=1 to 6.
Case 1: k=1
z1=z,z2⋅1=z2.
Sum z+z2=−1 (from z2+z+1=0).
Square: (−1)2=1.
Case 2: k=2
z2=z2,z4=z1=z.
Sum z2+z=−1.. Square: 1.
Case 3: k=3
z3=1,z6=(z3)2=1.
Sum 1+1=2. Square: 4.
Case 4: k=4
z4=z1=z,z8=z2.
Sum z+z2=−1.. Square: 1.
Case 5: k=5
z5=z2,z10=z1=z.
Sum z2+z=−1.. Square: 1.
Case 6: k=6
z6=1,z12=(z3)4=1.
Sum 1+1=2. Square: 4.
Add all six results:
1+1+4+1+1+4=12.
Therefore, the required value is 12.
Option D which is: 12