OFFSET
1,2
COMMENTS
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,-2,0,-1).
FORMULA
a(1) = 1; a(2*k) = (-1)^(k-1)*3; a(2*k+1) = (-1)^(k-1)*2*k for k >= 1. - Georg Fischer, Nov 02 2021
MAPLE
with(ListTools): Flatten([1, seq([(-1)^(k-1)*3, (-1)^(k-1)*2*k], k=1..32)]); # Georg Fischer, Nov 02 2021
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Gary W. Adamson, Nov 09 2008
EXTENSIONS
a(25) ff. corrected by Georg Fischer, Nov 02 2021
STATUS
approved