|
|
A022315
|
|
a(n) = a(n-1) + a(n-2) + 1, with a(0) = 0 and a(1) = 10.
|
|
1
|
|
|
0, 10, 11, 22, 34, 57, 92, 150, 243, 394, 638, 1033, 1672, 2706, 4379, 7086, 11466, 18553, 30020, 48574, 78595, 127170, 205766, 332937, 538704, 871642, 1410347, 2281990, 3692338, 5974329, 9666668
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(10-9*x)/( (1-x)*(1-x-x^2) ).
|
|
MATHEMATICA
|
CoefficientList[Series[(10 x-9 x^2)/(1-2 x+x^3), {x, 0, 30}], x] (* Harvey P. Dale, Mar 05 2011 *)
|
|
PROG
|
(PARI) x='x+O('x^50); concat([0], Vec(x*(10-9*x)/( (1-x)*(1-x-x^2) ))) \\ G. C. Greubel, Aug 25 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|