login
A284633
Numbers n with digits 3 and 6 only.
6
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,1
COMMENTS
All terms after 3 are composite.
FORMULA
a(n) = 3*A007931(n). - Michel Marcus, Mar 30 2017
MATHEMATICA
Table[Map[FromDigits, Tuples[{3, 6}, {k}]], {k, 5}] // Flatten (* Michael De Vlieger, Mar 30 2017 *)
PROG
(Magma) [n: n in [1..100000] | Set(IntegerToSequence(n, 10)) subset {3, 6}]
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).
Sequence in context: A274999 A133665 A124178 * A192166 A297444 A184508
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Mar 30 2017
STATUS
approved