OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,1,-1,1,-1).
FORMULA
EXAMPLE
Triangle in A204026 begins:
1;.........................sum = 1
1, 1;......................sum = 2
1, 2, 1;...................sum = 4
1, 2, 2, 1;................sum = 6
1, 2, 3, 2, 1;.............sum = 9
1, 2, 3, 3, 2, 1;..........sum = 12
1, 2, 3, 5, 3, 2, 1;.......sum = 17
1, 2, 3, 5, 5, 3, 2, 1;....sum = 22
1, 2, 3, 5, 8, 5, 3, 2, 1;.sum = 30
MATHEMATICA
LinearRecurrence[{1, 1, -1, 1, -1}, {1, 2, 4, 6, 9}, 50] (* Harvey P. Dale, Feb 24 2018 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Philippe Deléham, Feb 25 2014
STATUS
approved