|
|
A082685
|
|
(2*5^n + 2^n)/3.
|
|
6
|
|
|
1, 4, 18, 86, 422, 2094, 10438, 52126, 260502, 1302254, 6510758, 32552766, 162761782, 813804814, 4069015878, 20345063006, 101725282262, 508626345774, 2543131597798, 12715657726846, 63578288109942, 317891439501134
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (1-3x)/((1-5x)(1-2x))
a(n)=sum{k=0..n, sum{j=0..n, C(n, j)C(j+k, 2k)2^(j-k)}}. - Paul Barry, Nov 16 2005
a(0)=1, a(1)=4, a(n)=7*a(n-1)-10*a(n-2). - Harvey P. Dale, Apr 09 2014
|
|
MATHEMATICA
|
Table[(2*5^n+2^n)/3, {n, 0, 30}] (* or *) LinearRecurrence[{7, -10}, {1, 4}, 30] (* Harvey P. Dale, Apr 09 2014 *)
CoefficientList[Series[(1 - 3 x)/((1 - 5 x) (1 - 2 x)), {x, 0, 50}], x] (* Vincenzo Librandi, Apr 10 2014 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|