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

A032809
Numbers whose set of base-9 digits is {2,3}.
1
2, 3, 20, 21, 29, 30, 182, 183, 191, 192, 263, 264, 272, 273, 1640, 1641, 1649, 1650, 1721, 1722, 1730, 1731, 2369, 2370, 2378, 2379, 2450, 2451, 2459, 2460, 14762, 14763, 14771, 14772, 14843, 14844, 14852, 14853, 15491, 15492
OFFSET
1,1
MATHEMATICA
Flatten[Table[FromDigits[#, 9]&/@Tuples[{2, 3}, n], {n, 9}]] (* Vincenzo Librandi, May 27 2012 *)
PROG
(Magma) [n: n in [1..16000] | Set(IntegerToSequence(n, 9)) subset {2, 3}]; // Vincenzo Librandi, May 27 2012
CROSSREFS
Sequence in context: A028425 A224987 A024630 * A279180 A279471 A042265
KEYWORD
nonn,base,easy
STATUS
approved