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.

A216176 Inner product of the Zeckendorf binary representation of n and its reverse.

Original entry on oeis.org

1, 0, 0, 2, 0, 2, 0, 0, 2, 0, 1, 3, 0, 2, 0, 0, 2, 0, 2, 0, 0, 2, 0, 0, 2, 1, 3, 1, 0, 2, 0, 2, 4, 0, 2, 0, 0, 2, 0, 2, 0, 0, 2, 0, 0, 2, 0, 2, 0, 2, 4, 0, 2, 0, 0, 2, 0, 0, 2, 0, 2, 0, 1, 3, 1, 1, 3, 0, 2, 0, 0, 2, 2, 4, 2, 0, 2, 0, 2, 4, 0, 2, 0, 1, 3, 1
Offset: 1

Views

Author

Reinhard Zumkeller, Mar 10 2013

Keywords

Comments

a(n) = sum (A189920(n,k) * A213676(n,k): k = 1..A072649(n));
a(A027941(n)) = n.

Crossrefs

Cf. A159780.

Programs

  • Haskell
    a216176 n = sum $ zipWith (*) zs $ reverse zs
       where zs = a189920_row n