A023700 Numbers with exactly 2 2's in their ternary expansion.
8, 17, 20, 23, 24, 25, 35, 44, 47, 50, 51, 52, 56, 59, 60, 61, 65, 68, 69, 70, 72, 73, 75, 76, 89, 98, 101, 104, 105, 106, 116, 125, 128, 131, 132, 133, 137, 140, 141, 142, 146, 149, 150, 151, 153, 154, 156, 157, 164, 167, 168
Offset: 1
Links
- Seiichi Manyama, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
Select[ Range[ 189 ], (Count[ IntegerDigits[ #, 3 ], 2 ]==2)& ]