A023703 Numbers with exactly 5 2's in their ternary expansion.
242, 485, 566, 647, 674, 701, 710, 719, 722, 725, 726, 727, 971, 1214, 1295, 1376, 1403, 1430, 1439, 1448, 1451, 1454, 1455, 1456, 1538, 1619, 1646, 1673, 1682, 1691, 1694, 1697, 1698, 1699, 1781, 1862, 1889, 1916
Offset: 1
Links
- Seiichi Manyama, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
Select[ Range[ 2025 ], (Count[ IntegerDigits[ #, 3 ], 2 ]==5)& ]