|
|
A158879
|
|
a(n) = 4^n + n.
|
|
11
|
|
|
1, 5, 18, 67, 260, 1029, 4102, 16391, 65544, 262153, 1048586, 4194315, 16777228, 67108877, 268435470, 1073741839, 4294967312, 17179869201, 68719476754, 274877906963, 1099511627796, 4398046511125, 17592186044438, 70368744177687
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (1 - x - 3*x^2)/((1-4*x)*(1-x)^2). - R. J. Mathar, Mar 29 2009
a(n) = 6*a(n-1) -9*a(n-2) +4*a(n-3). - R. J. Mathar, Mar 29 2009
|
|
EXAMPLE
|
a(0)=4^0+0 = 1, a(1)=4^1+1 = 5, a(2)=4^2+2 = 18, a(3)=4^3+3 = 67, ...
|
|
MAPLE
|
|
|
MATHEMATICA
|
CoefficientList[Series[(1-x-3x^2)/((1-4x)(1-x)^2), {x, 0, 30}], x] (* Vincenzo Librandi, Jun 16 2013 *)
LinearRecurrence[{6, -9, 4}, {1, 5, 18}, 30] (* Harvey P. Dale, Jun 02 2016 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|