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.

A087120 Smallest numbers having in binary representation exactly n maximal groups of consecutive zeros.

Original entry on oeis.org

1, 0, 10, 42, 170, 682, 2730, 10922, 43690, 174762, 699050, 2796202, 11184810, 44739242, 178956970, 715827882, 2863311530, 11453246122, 45812984490, 183251937962, 733007751850, 2932031007402, 11728124029610, 46912496118442
Offset: 0

Views

Author

Reinhard Zumkeller, Aug 14 2003

Keywords

Comments

A087116(a(n))=n and A087116(k)
For n>1, a(n) = A020988(n-1).

Crossrefs

Programs

  • Mathematica
    Join[{1,0},NestList[4#+2&,10,25]] (* Harvey P. Dale, Apr 20 2019 *)

Formula

a(0)=1, a(1)=0, a(2)=10, a(n)=4*a(n-1)+2.