login
Numbers whose base-5 representation contains exactly three 1's and no 3's.
1

%I #17 Sep 13 2024 19:11:10

%S 31,131,151,155,157,159,161,171,181,231,281,531,631,651,655,657,659,

%T 661,671,681,731,751,755,757,759,761,771,775,777,779,785,787,789,795,

%U 797,799,801,805,807,809,811,821,851,855,857,859

%N Numbers whose base-5 representation contains exactly three 1's and no 3's.

%H Harvey P. Dale, <a href="/A045244/b045244.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Range[1000],DigitCount[#,5,1]==3&&DigitCount[#,5,3]==0&] (* _Harvey P. Dale_, Sep 13 2024 *)

%Y Cf. A007091.

%K nonn,base

%O 1,1

%A _Clark Kimberling_