cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A356326 The terms in the negaFibonacci representation of a(n) are the terms in common in the negaFibonacci representations of n and -n.

Original entry on oeis.org

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

Views

Author

Rémy Sigrist, Aug 03 2022

Keywords

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.
		

Crossrefs

Programs

  • PARI
    See Links section.

Formula

a(n) = 0 iff n belongs to A062877.
a(n) = A356327(A215024(n) AND A215025(n)) (where AND denotes the bitwise AND operator).
Empirically:
- a(A000045(k)+m) = a(A000045(k+1)-m) for k >= 0, m = 0..A000045(k+1)-A000045(k).