login
A032805
Numbers whose set of base-5 digits is {2,3}.
1
2, 3, 12, 13, 17, 18, 62, 63, 67, 68, 87, 88, 92, 93, 312, 313, 317, 318, 337, 338, 342, 343, 437, 438, 442, 443, 462, 463, 467, 468, 1562, 1563, 1567, 1568, 1587, 1588, 1592, 1593, 1687, 1688, 1692, 1693, 1712, 1713, 1717, 1718
OFFSET
1,1
MATHEMATICA
Flatten[Table[FromDigits[#, 5]&/@Tuples[{2, 3}, n], {n, 6}]] (* Vincenzo Librandi, May 26 2012 *)
PROG
(Magma) [n: n in [1..2800] | Set(IntegerToSequence(n, 5)) subset {2, 3}]; // Vincenzo Librandi, May 26 2012
CROSSREFS
Sequence in context: A227745 A255567 A039565 * A239017 A157899 A157900
KEYWORD
nonn,base,easy
STATUS
approved