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.

A084474 Write n in binary and replace 0 with 0000.

Original entry on oeis.org

1, 10000, 11, 100000000, 100001, 110000, 111, 1000000000000, 1000000001, 1000010000, 1000011, 1100000000, 1100001, 1110000, 1111, 10000000000000000, 10000000000001, 10000000010000, 10000000011, 10000100000000
Offset: 1

Views

Author

Reinhard Zumkeller, May 27 2003

Keywords

Comments

a(n)=A007088(A084473(n)); in A084472: replace 0 with 00.

Programs

  • Mathematica
    Table[FromDigits[Flatten[IntegerDigits[n,2]/.{0->{0,0,0,0}}]],{n,20}] (* Harvey P. Dale, Feb 19 2013 *)