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.

A213911 Number of runs of consecutive zeros in the Zeckendorf (binary) representation of n.

Original entry on oeis.org

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

Views

Author

Reinhard Zumkeller, Mar 10 2013

Keywords

Crossrefs

Programs

  • Haskell
    import Data.List (group)
    a213911 = length . filter ((== 0) . head) . group . a213676_row

Formula

a(n) = A104324(n) - A007895(n).
a(n) = A007895(n) - A003849(n). - Alexander Staunton, Jan 15 2025

Extensions

a(0)=0 added by N. J. A. Sloane, Jun 30 2017