login
A032808
Numbers whose set of base-8 digits is {2,3}.
1
2, 3, 18, 19, 26, 27, 146, 147, 154, 155, 210, 211, 218, 219, 1170, 1171, 1178, 1179, 1234, 1235, 1242, 1243, 1682, 1683, 1690, 1691, 1746, 1747, 1754, 1755, 9362, 9363, 9370, 9371, 9426, 9427, 9434, 9435, 9874, 9875, 9882
OFFSET
1,1
MATHEMATICA
Flatten[Table[FromDigits[#, 8]&/@Tuples[{2, 3}, n], {n, 6}]] (* Vincenzo Librandi, May 27 2012 *)
PROG
(Magma) [n: n in [1..10000] | Set(IntegerToSequence(n, 8)) subset {2, 3}]; // Vincenzo Librandi, May 27 2012
CROSSREFS
Sequence in context: A344530 A328624 A328627 * A321212 A037317 A112664
KEYWORD
nonn,base,easy
STATUS
approved