login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Numbers with a single 2 in their base 4 expansion.
2

%I #10 Sep 14 2023 08:10:59

%S 2,6,8,9,11,14,18,22,24,25,27,30,32,33,35,36,37,39,44,45,47,50,54,56,

%T 57,59,62,66,70,72,73,75,78,82,86,88,89,91,94,96,97,99,100,101,103,

%U 108,109,111,114,118,120,121,123,126,128,129

%N Numbers with a single 2 in their base 4 expansion.

%H Seiichi Manyama, <a href="/A023714/b023714.txt">Table of n, a(n) for n = 1..10000</a>

%t Select[ Range[ 132 ], (Count[ IntegerDigits[ #, 4 ], 2 ]==1)& ]

%K nonn,base,easy

%O 1,1

%A _Olivier Gérard_