van=facebook.com/LearningCalculus;

f(n):=(2+%i)^n-1;

f(0);

realpart(f(n));
imagpart(f(n));