login
Numbers whose base-9 representation has the same nonzero number of 2's and 6's.
0

%I #13 Jun 30 2021 01:54:05

%S 24,56,105,137,168,177,195,204,213,216,217,219,220,221,223,224,231,

%T 240,267,299,348,380,429,461,488,497,504,505,507,508,509,511,512,515,

%U 524,533,551,560,591,623,672,704,753,785,834,866,897,906,924,933,942

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

%t Select[Range[1000],DigitCount[#,9,2]==DigitCount[#,9,6]>0&] (* _Harvey P. Dale_, Jun 30 2015 *)

%Y Cf. A007095.

%K nonn,base,easy

%O 1,1

%A _Olivier GĂ©rard_