|
|
A169831
|
|
a(n) = 5*2^(n+1) - 3*(n+3).
|
|
1
|
|
|
1, 8, 25, 62, 139, 296, 613, 1250, 2527, 5084, 10201, 20438, 40915, 81872, 163789, 327626, 655303, 1310660, 2621377, 5242814, 10485691, 20971448, 41942965, 83886002, 167772079, 335544236, 671088553, 1342177190, 2684354467, 5368709024, 10737418141, 21474836378
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (1+4*x-2*x^2)/[(1-2*x)*(1-x)^2].
a(n) - 4*a(n-1) + 5*a(n-2) - 2*a(n-3) = 0, with n>2. (End)
|
|
MATHEMATICA
|
LinearRecurrence[{4, -5, 2}, {1, 8, 25}, 40] (* Harvey P. Dale, May 24 2023 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|