Number of partitions of 3^n-1 into powers of 3, also equals column 0 of triangle A111840, which shifts columns left and up under matrix cube.

A111841

Number of partitions of 3^n-1 into powers of 3, also equals column 0 of triangle A111840, which shifts columns left and up under matrix cube.

Terms

    a(0) =1a(1) =1a(2) =3a(3) =18a(4) =216a(5) =5589a(6) =336555a(7) =49768101a(8) =18707873562

External references