A329505 Expansion of (1 + x)*(1 + 2*x - x^2) / (1 - x).
1, 4, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (1).
Programs
-
PARI
Vec((1 + x)*(1 + 2*x - x^2) / (1 - x) + O(x^80)) \\ Colin Barker, Nov 21 2019
Formula
a(n) = 4 for n >= 3.
Comments