login
A373565
Expansion of x + 1/(1 - x).
1
1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
OFFSET
0,2
FORMULA
a(n) = [x^n] (x^2 - x - 1) / (x - 1).
E.g.f.: exp(x) + x. - Stefano Spezia, Jun 10 2024
MATHEMATICA
CoefficientList[Series[x + 1/(1 - x), {x, 0, 105}], x] (* Michael De Vlieger, Jun 10 2024 *)
CROSSREFS
Cf. A294619.
Sequence in context: A369162 A329684 A294619 * A054977 A272901 A078315
KEYWORD
nonn,easy
AUTHOR
Peter Luschny, Jun 10 2024
STATUS
approved