Table[(1/2 (1 - I Sqrt[7]))^n + (1/2 (1 + I Sqrt[7]))^n,{n,0,19}]//Simplify