|
|
A022325
|
|
a(n) = a(n-1) + a(n-2) + 1, with a(0) = 1 and a(1) = 11.
|
|
1
|
|
|
1, 11, 13, 25, 39, 65, 105, 171, 277, 449, 727, 1177, 1905, 3083, 4989, 8073, 13063, 21137, 34201, 55339, 89541, 144881, 234423, 379305, 613729, 993035, 1606765, 2599801, 4206567, 6806369, 11012937
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (1+9*x-9*x^2)/((1-x)*(1-x-x^2)).
|
|
MATHEMATICA
|
LinearRecurrence[{2, 0, -1}, {1, 11, 13}, 50] (* G. C. Greubel, Aug 25 2017 *)
|
|
PROG
|
(PARI) x='x+O('x^50); Vec((1+9*x-9*x^2)/((1-x)*(1-x-x^2))) \\ G. C. Greubel, Aug 25 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|