OFFSET
0,1
COMMENTS
Sum of the coefficients of the polynomial Q(n,x)=(1+x)[(1+x)^(n-1)+x^(n-1)], Q(0,x)=2.
Also row sums of A133138. - R. J. Mathar, Jun 12 2008
LINKS
FORMULA
MATHEMATICA
Table[If[n < 2, 2, 1] + Total[Table[Coefficient[Expand[(1 + x) ((1 + x)^(n - 1) + x^(n - 1))], x^m], {m, 1, n}]], {n, 0, 22}] (* Mats Granvik, May 19 2012 *)
Join[{2}, 2^Range[40]+2] (* Harvey P. Dale, Aug 16 2014 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Sep 21 2007
EXTENSIONS
Edited by R. J. Mathar, Jun 12 2008
STATUS
approved