login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A032830
Numbers whose set of base-6 digits is {3,4}.
1
3, 4, 21, 22, 27, 28, 129, 130, 135, 136, 165, 166, 171, 172, 777, 778, 783, 784, 813, 814, 819, 820, 993, 994, 999, 1000, 1029, 1030, 1035, 1036, 4665, 4666, 4671, 4672, 4701, 4702, 4707, 4708, 4881, 4882, 4887, 4888, 4917
OFFSET
1,1
MATHEMATICA
Flatten[Table[FromDigits[#, 6]&/@Tuples[{3, 4}, n], {n, 5}]] (* Vincenzo Librandi, May 30 2012 *)
PROG
(Magma) [n: n in [1..5000] | Set(IntegerToSequence(n, 6)) subset {3, 4}]; // Vincenzo Librandi, May 30 2012
CROSSREFS
Sequence in context: A308689 A339482 A359883 * A225478 A254884 A034475
KEYWORD
nonn,base,easy
STATUS
approved