A138382 First differences of A138380. Second differences of A138377.
1, -3, -1, -2, -4, 12, 4, 8, 16, -48, -16, -32, -64, 192, 64, 128, 256, -768, -256, -512, -1024, 3072, 1024, 2048, 4096, -12288, -4096, -8192, -16384, 49152, 16384, 32768, 65536, -196608, -65536, -131072, -262144, 786432, 262144, 524288, 1048576, -3145728
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (0,0,0,-4).
Programs
-
Mathematica
Differences[LinearRecurrence[{0,0,0,-4},{0,1,3,2},60],2] (* Harvey P. Dale, Mar 19 2012 *) LinearRecurrence[{0, 0, 0, -4},{1, -3, -1, -2},42] (* Ray Chandler, Aug 03 2015 *)
Formula
a(n) = -4*a(n-4).
Extensions
Definition corrected by R. J. Mathar, May 09 2008
More terms from Harvey P. Dale, Mar 19 2012