login
Numbers whose base-7 representation has the same number of 2's and 6's.
1

%I #13 Apr 12 2022 11:47:46

%S 0,1,3,4,5,7,8,10,11,12,20,21,22,24,25,26,28,29,31,32,33,35,36,38,39,

%T 40,44,49,50,52,53,54,56,57,59,60,61,69,70,71,73,74,75,77,78,80,81,82,

%U 84,85,87,88,89,93,104,111,125,132,139,140,141,143,144,145,147,148

%N Numbers whose base-7 representation has the same number of 2's and 6's.

%H Daniel Starodubtsev, <a href="/A039043/b039043.txt">Table of n, a(n) for n = 1..10000</a>

%t Select[Range[0,150],DigitCount[#,7,2]==DigitCount[#,7,6]&] (* _Harvey P. Dale_, Apr 12 2022 *)

%Y Cf. A007093.

%K nonn,base,easy

%O 1,3

%A _Olivier GĂ©rard_