A133730 Alternating sign sequence A033999 interleaved with Jacobsthal sequence A001045.
1, 0, -1, 1, 1, 1, -1, 3, 1, 5, -1, 11, 1, 21, -1, 43, 1, 85, -1, 171, 1, 341, -1, 683, 1, 1365, -1, 2731, 1, 5461, -1, 10923, 1, 21845, -1, 43691, 1, 87381, -1, 174763, 1, 349525, -1, 699051, 1, 1398101, -1, 2796203, 1, 5592405, -1, 11184811, 1, 22369621, -1, 44739243, 1
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (0,1,0,2).
Programs
-
Mathematica
LinearRecurrence[{0,1,0,2},{1,0,-1,1},70] (* Harvey P. Dale, Sep 04 2024 *)
Formula
Extensions
Edited by R. J. Mathar, Jan 09 2008
Definition amended by Georg Fischer, Nov 02 2021