%I #12 Sep 08 2022 08:44:51
%S 1,2,8,9,15,16,57,58,64,65,106,107,113,114,400,401,407,408,449,450,
%T 456,457,743,744,750,751,792,793,799,800,2801,2802,2808,2809,2850,
%U 2851,2857,2858,3144,3145,3151,3152,3193,3194,3200,3201
%N Numbers whose set of base-7 digits is {1,2}.
%H Vincenzo Librandi, <a href="/A032928/b032928.txt">Table of n, a(n) for n = 1..1000</a>
%t Flatten[Table[FromDigits[#,7]&/@Tuples[{1,2},n],{n,5}]] (* _Vincenzo Librandi_, Jun 03 2012 *)
%o (Magma) [n: n in [1..3500] | Set(IntegerToSequence(n, 7)) subset {1, 2}]; // _Vincenzo Librandi_, Jun 03 2012
%K nonn,base
%O 1,2
%A _Clark Kimberling_