login
Numbers whose set of base-11 digits is {1,4}.
1

%I #19 Sep 08 2022 08:44:51

%S 1,4,12,15,45,48,133,136,166,169,496,499,529,532,1464,1467,1497,1500,

%T 1827,1830,1860,1863,5457,5460,5490,5493,5820,5823,5853,5856,16105,

%U 16108,16138,16141,16468,16471,16501,16504,20098,20101,20131,20134,20461,20464

%N Numbers whose set of base-11 digits is {1,4}.

%H Vincenzo Librandi, <a href="/A032823/b032823.txt">Table of n, a(n) for n = 1..200</a>

%H <a href="/index/Ar#11-automatic">Index entries for 11-automatic sequences</a>.

%t fQ[n_]:=Union@Join[{1,4},IntegerDigits[n,11]]=={1,4};Select[Range[0,80000],fQ] (* _Vincenzo Librandi_, May 25 2012 *)

%t Flatten[Table[FromDigits[#,11]&/@Tuples[{1,4},n],{n,5}]] (* _Harvey P. Dale_, Feb 28 2015 *)

%o (Magma) [n: n in [1..21000] | Set(IntegerToSequence(n, 11)) subset {1,4}]; // _Bruno Berselli_, May 25 2012

%K nonn,base,easy

%O 1,2

%A _Clark Kimberling_