|
|
A022326
|
|
a(n) = a(n-1) + a(n-2) + 1, with a(0) = 1 and a(1) = 12.
|
|
1
|
|
|
1, 12, 14, 27, 42, 70, 113, 184, 298, 483, 782, 1266, 2049, 3316, 5366, 8683, 14050, 22734, 36785, 59520, 96306, 155827, 252134, 407962, 660097, 1068060, 1728158, 2796219, 4524378, 7320598, 11844977
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (1+10*x-10*x^2)/((1-x)*(1-x-x^2)).
|
|
MATHEMATICA
|
LinearRecurrence[{2, 0, -1}, {1, 12, 14}, 50] (* G. C. Greubel, Aug 25 2017 *)
|
|
PROG
|
(PARI) x='x+O('x^50); Vec((1+10*x-10*x^2)/((1-x)*(1-x-x^2))) \\ G. C. Greubel, Aug 25 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|