login
A373567
Expansion of x + 1/(-x - 1/(-x - 1/(-x + 1))).
1
1, 4, 6, 14, 31, 70, 157, 353, 793, 1782, 4004, 8997, 20216, 45425, 102069, 229347, 515338, 1157954, 2601899, 5846414, 13136773, 29518061, 66326481, 149034250, 334876920, 752461609, 1690765888, 3799116465, 8536537209, 19181424995, 43100270734, 96845429254
OFFSET
0,2
FORMULA
a(n) = [x^n] (x^4 - x^3 - 3*x^2 + 2*x + 1) / (x^3 - x^2 - 2*x + 1).
MATHEMATICA
CoefficientList[Series[x + 1/(-x - 1/(-x - 1/(-x + 1))), {x, 0, 31}], x] (* Michael De Vlieger, Jun 10 2024 *)
CROSSREFS
Essentially the same as A006356.
Sequence in context: A342602 A106526 A319766 * A108516 A219774 A274208
KEYWORD
nonn,easy
AUTHOR
Peter Luschny, Jun 10 2024
STATUS
approved