A138635 a(n) =3*a(n-3)-3*a(n-6)+2*a(n-9).
0, 0, 1, 0, 1, 1, 1, 2, 1, 3, 3, 2, 6, 5, 5, 11, 10, 11, 21, 21, 22, 42, 43, 43, 85, 86, 85, 171, 171, 170, 342, 341, 341, 683, 682, 683, 1365, 1365, 1366, 2730, 2731, 2731, 5461, 5462, 5461, 10923, 10923, 10922, 21846, 21845, 21845, 43691, 43690, 43691, 87381
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (0,0,3,0,0,-3,0,0,2).
Formula
a(18*n) = 21*A133853(n).
G.f.: -x^2*(1+x^2-2*x^3+x^4-x^5+x^6)/((2*x^3-1)*(x^6-x^3+1)). - R. J. Mathar, May 17 2009
Extensions
Edited by R. J. Mathar, May 17 2009
Comments