a(n) = 1 - 2^k + 4^k where k = 3^n.A198915a(n) = 1 - 2^k + 4^k where k = 3^n.Terms a(0) =3a(1) =57a(2) =261633External referencesoeis: A198915