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.

A167679 Replace odd digits with 2 and even digits with 1.

Original entry on oeis.org

1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 11, 12, 11, 12, 11, 12, 11, 12, 11, 12, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 11, 12, 11, 12, 11, 12, 11, 12, 11, 12, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 11, 12, 11, 12, 11, 12, 11, 12, 11, 12, 21, 22, 21
Offset: 0

Views

Author

Zak Seidov, Nov 09 2009

Keywords

Crossrefs

Programs

  • Mathematica
    Table[FromDigits[If[OddQ[ # ],2,1]&/@IntegerDigits[n]],{n,0,200}]