login
A032831
Numbers whose set of base-7 digits is {3,4}.
1
3, 4, 24, 25, 31, 32, 171, 172, 178, 179, 220, 221, 227, 228, 1200, 1201, 1207, 1208, 1249, 1250, 1256, 1257, 1543, 1544, 1550, 1551, 1592, 1593, 1599, 1600, 8403, 8404, 8410, 8411, 8452, 8453, 8459, 8460, 8746, 8747, 8753
OFFSET
1,1
MATHEMATICA
Flatten[Table[FromDigits[#, 7]&/@Tuples[{3, 4}, n], {n, 5}]] (* Vincenzo Librandi, May 30 2012 *)
PROG
(Magma) [n: n in [1..9000] | Set(IntegerToSequence(n, 7)) subset {3, 4}]; // Vincenzo Librandi, May 30 2012
CROSSREFS
Sequence in context: A042377 A276815 A223526 * A047180 A051394 A050801
KEYWORD
nonn,base,easy
STATUS
approved