login

A014935 revision #14


A014935
a(1)=1, a(n) = n*18^(n-1) + a(n-1).
1
1, 37, 1009, 24337, 549217, 11886625, 249972193, 5147732449, 104327377633, 2087920281313, 41363059774177, 812583980724961, 15851391939265249, 307372900058661601, 5929573413789876961, 113875823277429211873
OFFSET
1,2
FORMULA
a(n) = (1/289)*(1+18^n*(17*n-1)), with n >= 1. - Paolo P. Lava, Jan 13 2009
G.f.: x/((1 - x)*(1 - 18*x)^2). - Stefano Spezia, Mar 11 2020
PROG
(PARI) a(n) = (1+18^n*(17*n-1))/289; \\ Jinyuan Wang, Mar 11 2020
CROSSREFS
Sequence in context: A332857 A237857 A306472 * A124155 A218764 A217454
KEYWORD
nonn,easy
STATUS
editing