Let f(n)=\left(\dfrac{-1+i \sqrt{3}}{2}\right)^{n}+\left(\dfrac{-1-i \sqrt{3}}{2}\right)^{n}, where i=\sqrt{-1}. What is f(2022) ?
Answer Choices
A. -2
B. -1
C. 0
D. \sqrt{3}
E. 2
Let f(n)=\left(\dfrac{-1+i \sqrt{3}}{2}\right)^{n}+\left(\dfrac{-1-i \sqrt{3}}{2}\right)^{n}, where i=\sqrt{-1}. What is f(2022) ?
Answer Choices
A. -2
B. -1
C. 0
D. \sqrt{3}
E. 2