|
|
A087449
|
|
a(n) = n * 4^(n-1) + (2*4^n + 1) / 3.
|
|
1
|
|
|
1, 4, 19, 91, 427, 1963, 8875, 39595, 174763, 764587, 3320491, 14330539, 61516459, 262843051, 1118481067, 4742359723, 20043180715, 84467690155, 355050629803, 1488921995947, 6230565890731, 26021775190699, 108485147273899
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (1-5x+7x^2)/((1-x)(1-4x)^2).
|
|
MATHEMATICA
|
LinearRecurrence[{9, -24, 16}, {1, 4, 19}, 30] (* Harvey P. Dale, Apr 15 2018 *)
|
|
PROG
|
(PARI) a(n) = my(p4 = 1<<(2*n)); n * p4 / 4 + (2*p4 + 1) / 3 \\ David A. Corneth, Apr 15 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|