A172416 a(n) = 5*2^n/9 + 1/4 + (-1)^n*(n/6 + 7/36).
1, 1, 3, 4, 10, 17, 37, 70, 144, 283, 571, 1136, 2278, 4549, 9105, 18202, 36412, 72815, 145639, 291268, 582546, 1165081, 2330173, 4660334, 9320680, 18641347, 37282707, 74565400, 149130814, 298261613, 596523241
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (1,3,-1,-2).
Programs
-
Magma
[5*2^n/9 +1/4 +(-1)^n*(n/6+7/36): n in [0..40]]; // Vincenzo Librandi, Aug 05 2011
Comments