login
A014936
a(1)=1, a(n) = n*19^(n-1) + a(n-1).
2
1, 39, 1122, 28558, 680163, 15536757, 344857924, 7495831836, 160347899205, 3387224876995, 70828953712806, 1468712060491434, 30241806008351527, 618983574479950353, 12604083861223212168, 255502116339219984952
OFFSET
1,2
FORMULA
G.f.: x/((1 - x)*(1 - 19*x)^2). - Stefano Spezia, Mar 11 2020
MATHEMATICA
RecurrenceTable[{a[1]==1, a[n]==n*19^(n-1)+a[n-1]}, a, {n, 20}] (* Harvey P. Dale, Oct 01 2012 *)
PROG
(PARI) a(n) = (1+19^n*(18*n-1))/324; \\ Jinyuan Wang, Mar 11 2020
CROSSREFS
Sequence in context: A028219 A209076 A251327 * A227524 A240442 A009729
KEYWORD
nonn,easy
STATUS
approved