A131090 First differences of A131666.
0, 1, 0, 1, 1, 4, 7, 15, 28, 57, 113, 228, 455, 911, 1820, 3641, 7281, 14564, 29127, 58255, 116508, 233017, 466033, 932068, 1864135, 3728271, 7456540, 14913081, 29826161, 59652324, 119304647, 238609295, 477218588, 954437177, 1908874353
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (2,0,-1,2).
Programs
-
Mathematica
LinearRecurrence[{2,0,-1,2},{0,1,0,1},40] (* Harvey P. Dale, Jan 15 2016 *)
Formula
a(n+1)-2a(n) = A131556(n), a sequence with period length 6.
G.f.: -(x-1)^2*x / ((x+1)*(2*x-1)*(x^2-x+1)). - Colin Barker, Mar 04 2013
Extensions
Edited by R. J. Mathar, Jun 28 2008
Comments