A166999 a(n) = a(n-1) + a(n-1)^2 + a(n-1)^3 for n>0 with a(0)=1.
1, 3, 39, 60879, 225636660844959, 11487591726386681145142587842614325062822719
Offset: 0
Keywords
Crossrefs
Cf. A166880.
Programs
-
Mathematica
NestList[#+#^2+#^3&,1,5] (* Harvey P. Dale, Sep 22 2024 *)
-
PARI
a(n)=if(n==0,1,a(n-1)+a(n-1)^2+a(n-1)^3)
Formula
Row sums of triangle A166880, which lists the coefficients in the iterations of x+x^2+x^3.