login
A032930
Numbers whose set of base-9 digits is {1,2}.
1
1, 2, 10, 11, 19, 20, 91, 92, 100, 101, 172, 173, 181, 182, 820, 821, 829, 830, 901, 902, 910, 911, 1549, 1550, 1558, 1559, 1630, 1631, 1639, 1640, 7381, 7382, 7390, 7391, 7462, 7463, 7471, 7472, 8110, 8111, 8119, 8120, 8191
OFFSET
1,2
LINKS
MATHEMATICA
Flatten[Table[FromDigits[#, 9]&/@Tuples[{1, 2}, n], {n, 5}]] (* Vincenzo Librandi, Jun 04 2012 *)
PROG
(Magma) [n: n in [1..9000] | Set(IntegerToSequence(n, 9)) subset {1, 2}]; // Vincenzo Librandi, Jun 04 2012
CROSSREFS
Sequence in context: A340649 A309942 A282093 * A033293 A231501 A051373
KEYWORD
nonn,base
STATUS
approved