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