A031950 Numbers with exactly two distinct base-5 digits.
5, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 25, 26, 30, 32, 33, 34, 36, 37, 41, 43, 46, 49, 50, 52, 56, 57, 60, 61, 63, 64, 67, 68, 72, 74, 75, 78, 81, 83, 87, 88, 90, 91, 92, 94, 98, 99, 100, 104, 106, 109, 112, 114, 118, 119
Offset: 1
Crossrefs
Cf. A007091.
Programs
-
Mathematica
Select[Range[150],Length[Union[IntegerDigits[#,5]]]==2&] (* Harvey P. Dale, Apr 13 2011 *)