login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A270656
a(3n)=a(n), a(3n+1)=a(3n)-a(3(n+1)), a(3n+2)=a(3n)+a(3(n+1)); a(0)=2, a(1)=1.
1
2, 1, 3, 1, -2, 4, 3, 2, 4, 1, 3, -1, -2, -6, 2, 4, 1, 7, 3, 1, 5, 2, -2, 6, 4, 3, 5, 1, -2, 4, 3, 4, 2, -1, 1, -3, -2, 4, -8, -6, -8, -4, 2, -2, 6, 4, 3, 5, 1, -6, 8, 7, 4, 10, 3, 2, 4, 1, -4, 6, 5, 3, 7, 2, 4, 0, -2, -8, 4, 6, 2, 10, 4, 1, 7, 3, -2, 8, 5, 4
OFFSET
0,1
LINKS
FORMULA
a(3n)=a(n), a(3n+1)=a(3n)-a(3(n+1)), a(3n+2)=a(3n)+a(3(n+1)); a(0)=2, a(1)=1.
CROSSREFS
Sequence in context: A125047 A323420 A331296 * A045898 A303754 A257918
KEYWORD
sign,look
AUTHOR
Max Barrentine, Mar 20 2016
STATUS
approved