login
A270658
a(3n)=a(n), a(3n+1)=a(3n)+a(3(n+1)), a(3n+2)=a(3n)-a(3(n+1)); a(0)=0, a(1)=1.
1
0, 1, -1, 1, 0, 2, -1, 0, -2, 1, 1, 1, 0, 2, -2, 2, 1, 3, -1, -1, -1, 0, -2, 2, -2, -1, -3, 1, 2, 0, 1, 2, 0, 1, 1, 1, 0, 2, -2, 2, 0, 4, -2, 0, -4, 2, 3, 1, 1, 4, -2, 3, 2, 4, -1, -2, 0, -1, -2, 0, -1, -1, -1, 0, -2, 2, -2, 0, -4, 2, 0, 4, -2, -3, -1, -1, -4, 2, -3, -2, -4, 1
OFFSET
0,6
COMMENTS
Maxima a(<3^n)=A029744(n).
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)=0, a(1)=1.
CROSSREFS
Sequence in context: A135486 A030187 A270657 * A117278 A215556 A140082
KEYWORD
sign,look
AUTHOR
Max Barrentine, Mar 21 2016
STATUS
approved