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.

A284633 Numbers n with digits 3 and 6 only.

Original entry on oeis.org

3, 6, 33, 36, 63, 66, 333, 336, 363, 366, 633, 636, 663, 666, 3333, 3336, 3363, 3366, 3633, 3636, 3663, 3666, 6333, 6336, 6363, 6366, 6633, 6636, 6663, 6666, 33333, 33336, 33363, 33366, 33633, 33636, 33663, 33666, 36333, 36336, 36363, 36366, 36633, 36636
Offset: 1

Views

Author

Jaroslav Krizek, Mar 30 2017

Keywords

Comments

All terms after 3 are composite.

Crossrefs

Cf. A007931.
Numbers n with digits 6 and k only for k = 0..5 and 7..9: A204093 (k = 0), A284293 (k = 1), A284632 (k = 2), this sequence (k = 3), A284634 (k = 4), A256291 (k = 5), A256292 (k = 7), A284635 (k = 8), A284636 (k = 9).

Programs

  • Magma
    [n: n in [1..100000] | Set(IntegerToSequence(n, 10)) subset {3, 6}]
  • Mathematica
    Table[Map[FromDigits, Tuples[{3, 6}, {k}]], {k, 5}] // Flatten (* Michael De Vlieger, Mar 30 2017 *)

Formula

a(n) = 3*A007931(n). - Michel Marcus, Mar 30 2017