%I
%S 1,2,3,5,6,7,8,9,10,12,13,14,16,17,18,19,20,21,23,24,25,27,28,29,30,
%T 31,32,34,35,36,38,39,40,41,42,43,44,56,57,58,60,61,62,63,64,65,67,68,
%U 69,71,72,73,74,75,76,78,79,80,82,83,84,85,86,87,89,90,91,93,94,95
%N Numbers whose base-11 representation has the same number of 0's and 4's.
%t ok11Q[n_]:=Module[{dc11=DigitCount[n,11]},Last[dc11]==dc11[[4]]]
%t Select[Range[100],ok11Q] (* _Harvey P. Dale_, Feb 22 2011 *)
%K nonn,base,easy
%O 1,2
%A _Olivier Gérard_
|