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”).

A032832
Numbers whose set of base-8 digits is {3,4}.
1
3, 4, 27, 28, 35, 36, 219, 220, 227, 228, 283, 284, 291, 292, 1755, 1756, 1763, 1764, 1819, 1820, 1827, 1828, 2267, 2268, 2275, 2276, 2331, 2332, 2339, 2340, 14043, 14044, 14051, 14052, 14107, 14108, 14115, 14116, 14555, 14556
OFFSET
1,1
MATHEMATICA
Flatten[Table[FromDigits[#, 8]&/@Tuples[{3, 4}, n], {n, 5}]] (* Vincenzo Librandi, May 30 2012 *)
PROG
(Magma) [n: n in [1..15000] | Set(IntegerToSequence(n, 8)) subset {3, 4}]; // Vincenzo Librandi, May 30 2012
CROSSREFS
Sequence in context: A258103 A300373 A222112 * A041021 A041022 A157163
KEYWORD
nonn,base,easy
STATUS
approved