login
A014931
a(1)=1, a(n) = n*16^(n-1) + a(n-1).
2
1, 33, 801, 17185, 344865, 6636321, 124076833, 2271560481, 40926266145, 728121033505, 12822748939041, 223928981472033, 3883103678710561, 66933498461897505, 1147797409030816545, 19594541482740368161
OFFSET
1,2
FORMULA
G.f.: x/((1 - x)*(1 - 16*x)^2). - Stefano Spezia, Mar 11 2020
MATHEMATICA
RecurrenceTable[{a[1]==1, a[n]==n*16^(n-1)+a[n-1]}, a, {n, 20}] (* Harvey P. Dale, Sep 17 2019 *)
PROG
(PARI) a(n) = (1+16^n*(15*n-1))/225; \\ Jinyuan Wang, Mar 11 2020
CROSSREFS
Sequence in context: A164750 A100788 A051565 * A197358 A299074 A101632
KEYWORD
nonn,easy
STATUS
approved