login
A032927
Numbers whose set of base-6 digits is {1,2}.
1
1, 2, 7, 8, 13, 14, 43, 44, 49, 50, 79, 80, 85, 86, 259, 260, 265, 266, 295, 296, 301, 302, 475, 476, 481, 482, 511, 512, 517, 518, 1555, 1556, 1561, 1562, 1591, 1592, 1597, 1598, 1771, 1772, 1777, 1778, 1807, 1808, 1813, 1814
OFFSET
1,2
LINKS
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
Sequence in context: A246389 A329409 A231625 * A004717 A308918 A226819
KEYWORD
nonn,base
STATUS
approved