login

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

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

%I #14 Mar 31 2022 13:21:14

%S 8,16,28,38,40,42,44,48,58,66,76,80,82,84,86,96,108,116,128,138,140,

%T 142,144,148,168,178,188,190,192,194,198,200,202,204,208,210,212,214,

%U 216,220,222,224,228,238,240,242,244,248,258,266,278,288,290,292,294

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

%t Select[Range[300],DigitCount[#,5,1]==DigitCount[#,5,3]>0&] (* _Harvey P. Dale_, Mar 31 2022 *)

%Y Cf. A007091.

%K nonn,base,easy

%O 1,1

%A _Olivier GĂ©rard_