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.

A043534 Number of distinct base-7 digits of n.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 3, 3, 3, 3, 3, 2, 1, 2, 2, 2, 2, 2, 3, 2, 2, 3, 3, 3, 3, 3, 2, 3, 2, 3, 3, 3, 3, 2, 3, 3, 2, 3, 3, 3, 2, 3, 3, 3, 2, 3
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A007093.

Programs

  • Maple
    seq(nops(convert(convert(n,base,7),set)), n=1..100); # Robert Israel, Sep 18 2016
  • Mathematica
    Table[Length[Union[IntegerDigits[n,7]]],{n,100}] (* Harvey P. Dale, Jun 22 2024 *)