%I #12 Sep 08 2022 08:44:51
%S 1,2,16,17,31,32,241,242,256,257,466,467,481,482,3616,3617,3631,3632,
%T 3841,3842,3856,3857,6991,6992,7006,7007,7216,7217,7231,7232,54241,
%U 54242,54256,54257,54466,54467,54481,54482,57616,57617
%N Numbers whose set of base-15 digits is {1,2}.
%H Vincenzo Librandi, <a href="/A032935/b032935.txt">Table of n, a(n) for n = 1..1000</a>
%t Flatten[Table[FromDigits[#,15]&/@Tuples[{1,2},n],{n,5}]](* _Vincenzo Librandi_, Jun 04 2012 *)
%o (Magma) [n: n in [1..60000] | Set(IntegerToSequence(n, 15)) subset {1, 2}]; // _Vincenzo Librandi_, Jun 04 2012
%K nonn,base
%O 1,2
%A _Clark Kimberling_