login
A032932
Numbers whose set of base-12 digits is {1,2}.
1
1, 2, 13, 14, 25, 26, 157, 158, 169, 170, 301, 302, 313, 314, 1885, 1886, 1897, 1898, 2029, 2030, 2041, 2042, 3613, 3614, 3625, 3626, 3757, 3758, 3769, 3770, 22621, 22622, 22633, 22634, 22765, 22766, 22777, 22778, 24349, 24350
OFFSET
1,2
LINKS
MATHEMATICA
Flatten[Table[FromDigits[#, 12]&/@Tuples[{1, 2}, n], {n, 5}]] (* Vincenzo Librandi, Jun 04 2012 *)
PROG
(Magma) [n: n in [1..25000] | Set(IntegerToSequence(n, 12)) subset {1, 2}]; // Vincenzo Librandi, Jun 04 2012
CROSSREFS
Sequence in context: A175270 A320339 A075032 * A089019 A015905 A179164
KEYWORD
nonn,base
STATUS
approved