A356326 The terms in the negaFibonacci representation of a(n) are the terms in common in the negaFibonacci representations of n and -n.
0, 0, 0, 0, -1, 0, 0, 0, 0, -1, -3, -3, -1, 0, 0, 0, 0, 4, 0, 0, 0, 0, -1, -3, -3, -1, -8, -8, -8, -8, -1, -3, -3, -1, 0, 0, 0, 0, 4, 0, 0, 0, 0, 12, 10, 10, 12, 0, 0, 0, 0, 4, 0, 0, 0, 0, -1, -3, -3, -1, -8, -8, -8, -8, -1, -3, -3, -1, -21, -21, -21, -21, -17
Offset: 0
Examples
For n = 11: - using F(-k) = A039834(k): - 11 = F(-1) + F(-4) + F(-7), - -11 = F(-4) + F(-6), - so a(11) = F(-4) = -3.
Links
- Rémy Sigrist, Table of n, a(n) for n = 0..10946
- Rémy Sigrist, PARI program
- Wikipedia, NegaFibonacci coding
- Index entries for sequences related to Zeckendorf expansion of n
Programs
-
PARI
See Links section.