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”).

A031949
Numbers with exactly two distinct base-4 digits.
2
4, 6, 7, 8, 9, 11, 12, 13, 14, 16, 17, 20, 22, 23, 25, 26, 29, 31, 32, 34, 37, 38, 40, 41, 43, 46, 47, 48, 51, 53, 55, 58, 59, 60, 61, 62, 64, 65, 68, 69, 80, 81, 84, 86, 87, 89, 90, 93, 95, 101, 102, 105, 106, 117, 119, 125, 127, 128, 130
OFFSET
1,1
MATHEMATICA
db4Q[n_]:=Count[DigitCount[n, 4], _?(#>0&)]==2; Select[Range[200], db4Q] (* Harvey P. Dale, Jan 13 2019 *)
CROSSREFS
Cf. A007090.
Sequence in context: A101087 A138887 A216845 * A043693 A043593 A043827
KEYWORD
nonn,base
STATUS
approved