Let S(1) = {1} and, for n > 1, let S(n) be the smallest set containing x, 2x and x^2 for each element x in S(n-1). a(n) is the sum of the elements in S(n).

A123212

Let S(1) = {1} and, for n > 1, let S(n) be the smallest set containing x, 2x and x^2 for each element x in S(n-1). a(n) is the sum of the elements in S(n).

Terms

    a(0) =1a(1) =3a(2) =7a(3) =31a(4) =383a(5) =71679a(6) =4313284607

External references