OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Flatten[Table[FromDigits[#, 6]&/@Tuples[{1, 2}, n], {n, 5}]] (* Vincenzo Librandi, Jun 03 2012 *)
PROG
(Magma) [n: n in [1..2000] | Set(IntegerToSequence(n, 6)) subset {1, 2}]; // Vincenzo Librandi, Jun 03 2012
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved