OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (39,-399,361).
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
KEYWORD
nonn,easy
AUTHOR
STATUS
approved