login
Numbers whose base-8 representation has the same nonzero number of 4's and 5's.
1

%I #16 Jun 30 2021 01:56:06

%S 37,44,101,108,165,172,229,236,261,269,277,285,296,297,298,299,302,

%T 303,309,317,324,332,340,348,352,353,354,355,358,359,372,380,421,428,

%U 485,492,549,556,613,620,677,684,741,748,773,781,789,797,808,809,810

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

%H Vincenzo Librandi, <a href="/A039351/b039351.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Range[900],DigitCount[#,8,4]==DigitCount[#,8,5]>0&] (* _Harvey P. Dale_, Oct 03 2013 *)

%Y Cf. A007094.

%K nonn,base,easy

%O 1,1

%A _Olivier GĂ©rard_