a(n) = 1 + 2^k + 4^k where k = 3^n.A051154a(n) = 1 + 2^k + 4^k where k = 3^n.Terms a(0) =7a(1) =73a(2) =262657External referencesoeis: A051154