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 exactly 5 2's in their ternary expansion.
2

%I #13 Sep 13 2023 07:24:51

%S 242,485,566,647,674,701,710,719,722,725,726,727,971,1214,1295,1376,

%T 1403,1430,1439,1448,1451,1454,1455,1456,1538,1619,1646,1673,1682,

%U 1691,1694,1697,1698,1699,1781,1862,1889,1916

%N Numbers with exactly 5 2's in their ternary expansion.

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

%t Select[ Range[ 2025 ], (Count[ IntegerDigits[ #, 3 ], 2 ]==5)& ]

%K nonn,base,easy

%O 1,1

%A _Olivier Gérard_