login
A280823
Numbers with an odd number of digits and with an odd number of distinct digits.
4
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,3
LINKS
Eric Weisstein's World of Mathematics, Digit
FORMULA
A000035(A055642(a(n))) = 1.
A000035(A043537(a(n))) = 1.
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 *)
KEYWORD
nonn,base,easy
AUTHOR
Ilya Gutkovskiy, Jan 08 2017
STATUS
approved