A280823 Numbers with an odd number of digits and with an odd number of distinct digits.
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 102, 103, 104, 105, 106, 107, 108, 109, 111, 120, 123, 124, 125, 126, 127, 128, 129, 130, 132, 134, 135, 136, 137, 138, 139, 140, 142, 143, 145, 146, 147, 148, 149, 150, 152, 153, 154, 156, 157, 158, 159, 160, 162, 163, 164, 165, 167, 168, 169, 170, 172, 173, 174, 175, 176, 178, 179, 180
Offset: 1
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
- Eric Weisstein's World of Mathematics, Digit
- Index entries for 10-automatic sequences.
Programs
-
Mathematica
Select[Range[0, 180], Mod[Length[IntegerDigits[#1]], 2] == 1 && Mod[Length[Union[IntegerDigits[#1]]], 2] == 1 & ] Join[{0},Select[Range[200],AllTrue[{IntegerLength[#],Count[DigitCount[#],?(#>0&)]},OddQ]&]] (* _Harvey P. Dale, Dec 16 2023 *)