OFFSET
0,2
LINKS
Michael Z. Spivey and Laura L. Steil, The k-Binomial Transforms and the Hankel Transform, Journal of Integer Sequences, Vol. 9 (2006), Article 06.1.1.
FORMULA
a(n) = 3n*a(n-1)+3^n, n>0, a(0)=1; a(n) = 3^n*A000522(n).
G.f.: 1/Q(0), where Q(k) = 1 - 6*x*(k+1) - 9*x^2*(k+1)^2/Q(k+1); (continued fraction). - Sergei N. Gladkovskii, Sep 30 2013
Conjecture: a(n) +3*(-n-1)*a(n-1) +9*(n-1)*a(n-2)=0. - R. J. Mathar, Dec 21 2014
MATHEMATICA
With[{nn=20}, CoefficientList[Series[Exp[3x]/(1-3x), {x, 0, nn}], x] Range[ 0, nn]!] (* or *) RecurrenceTable[{a[0]==1, a[n]==3n a[n-1]+3^n}, a, {n, 20}] (* Harvey P. Dale, Feb 23 2012 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Aug 26 2004
STATUS
approved