login

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

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

%I #13 Aug 08 2023 09:57:01

%S 0,2,4,5,6,7,8,12,18,20,22,23,24,25,26,28,36,38,40,41,42,43,44,45,47,

%T 49,50,51,52,53,54,56,58,59,60,61,62,63,65,67,68,69,70,71,72,74,76,77,

%U 78,79,80,84,102,108,110,112,113,114,115,116,120,129,138,147,156,162

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

%t Select[Range[0,200],DigitCount[#,9,1]==DigitCount[#,9,3]&] (* _Harvey P. Dale_, Aug 08 2023 *)

%Y Cf. A007095.

%K nonn,base,easy

%O 1,2

%A _Olivier GĂ©rard_