login
Numbers whose base-4 representation contains exactly one 0 and four 1's.
1

%I #11 May 28 2023 22:19:49

%S 277,325,337,340,1110,1111,1113,1117,1125,1141,1173,1237,1302,1303,

%T 1305,1309,1317,1333,1350,1351,1353,1357,1362,1363,1368,1372,1377,

%U 1380,1393,1396,1413,1425,1428,1477,1489,1492,1557

%N Numbers whose base-4 representation contains exactly one 0 and four 1's.

%H Vincenzo Librandi, <a href="/A045022/b045022.txt">Table of n, a(n) for n = 1..5000</a>

%t Select[Range[10000], DigitCount[#, 4, 0] == 1 && DigitCount[#, 4, 1] == 4 &] (* _Vincenzo Librandi_, Sep 21 2016 *)

%Y Cf. A007090.

%K nonn,base

%O 1,1

%A _Clark Kimberling_