OFFSET
1,2
COMMENTS
MATHEMATICA
Join @@ (FromDigits /@ Tuples[{1, 6}, #] & /@ Range[5]) (* Giovanni Resta, Mar 25 2017 *)
PROG
(Magma) [n: n in [1..20000] | Set(IntegerToSequence(n, 10)) subset {1, 6}]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Mar 25 2017
STATUS
approved