login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Numbers whose base-8 representation has the same number of 1's and 3's.
0

%I #11 Aug 27 2021 11:38:24

%S 0,2,4,5,6,7,11,16,18,20,21,22,23,25,32,34,36,37,38,39,40,42,44,45,46,

%T 47,48,50,52,53,54,55,56,58,60,61,62,63,67,83,88,90,92,93,94,95,99,

%U 107,115,123,128,130,132,133,134,135,139,144,146,148,149,150,151,153

%N Numbers whose base-8 representation has the same number of 1's and 3's.

%t Select[Range[0,200],DigitCount[#,8,1]==DigitCount[#,8,3]&] (* _Harvey P. Dale_, Aug 27 2021 *)

%K nonn,base,easy

%O 1,2

%A _Olivier GĂ©rard_