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

A032816
Numbers whose set of base-16 digits is {2,3}.
4
2, 3, 34, 35, 50, 51, 546, 547, 562, 563, 802, 803, 818, 819, 8738, 8739, 8754, 8755, 8994, 8995, 9010, 9011, 12834, 12835, 12850, 12851, 13090, 13091, 13106, 13107, 139810, 139811, 139826, 139827, 140066, 140067, 140082
OFFSET
1,1
MATHEMATICA
Flatten[Table[FromDigits[#, 16]&/@Tuples[{2, 3}, n], {n, 5}]] (* Vincenzo Librandi, May 27 2012 *)
PROG
(Magma) [n: n in [1..150000] | Set(IntegerToSequence(n, 16)) subset {2, 3}]; // Vincenzo Librandi May 27 2012
CROSSREFS
Sequence in context: A080471 A023184 A114229 * A073657 A228114 A025136
KEYWORD
nonn,base,easy
STATUS
approved