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

A032933
Numbers whose set of base-13 digits is {1,2}.
1
1, 2, 14, 15, 27, 28, 183, 184, 196, 197, 352, 353, 365, 366, 2380, 2381, 2393, 2394, 2549, 2550, 2562, 2563, 4577, 4578, 4590, 4591, 4746, 4747, 4759, 4760, 30941, 30942, 30954, 30955, 31110, 31111, 31123, 31124, 33138, 33139
OFFSET
1,2
LINKS
MATHEMATICA
Flatten[Table[FromDigits[#, 13]&/@Tuples[{1, 2}, n], {n, 5}]] (* Vincenzo Librandi, Jun 04 2012 *)
PROG
(Magma) [n: n in [1..35000] | Set(IntegerToSequence(n, 13)) subset {1, 2}]; // Vincenzo Librandi, Jun 04 2012
CROSSREFS
Sequence in context: A084674 A009774 A276553 * A194230 A109993 A075041
KEYWORD
nonn,base
STATUS
approved