login
A155980
First differences of A135351.
7
0, 2, -2, 3, -1, 5, 3, 13, 19, 45, 83, 173, 339, 685, 1363, 2733, 5459, 10925, 21843, 43693, 87379, 174765, 349523, 699053, 1398099, 2796205, 5592403, 11184813, 22369619, 44739245, 89478483, 178956973, 357913939, 715827885, 1431655763, 2863311533, 5726623059
OFFSET
0,2
FORMULA
G.f.: (x^2-4*x+2)*x/((1-2*x)*(x+1)). - Alois P. Heinz, Jan 21 2021
MATHEMATICA
LinearRecurrence[{1, 2}, {0, 2, -2, 3}, 50] (* Paolo Xausa, Nov 07 2023 *)
CROSSREFS
Cf. A135351.
Sequence in context: A335917 A028507 A096226 * A309531 A215222 A219865
KEYWORD
sign,easy
AUTHOR
Paul Curtz, Feb 01 2009
EXTENSIONS
More terms from Alois P. Heinz, Jan 21 2021
STATUS
approved