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