math
posted by alex .
There are 900 threedigit integers. The number of threedigit integers having at least one repeated digit is also a threedigit number. If that number is represented by abc where each letter is a digit, compute
ab+c
(I came up with 252 integers so when I did the computation it didn't make sense)

Here we have 10 digits, of which the first one cannot be zero.
If the three digits are distinct, there are 9 choices for the first digit, still 9 (including zero) for the second, and 8 for the third.
So 9*9*8=648 numbers.
There are therefore 900648=252 numbers which have at least one repeated digit.
So a=2, b=5, c=2, and ab+c=25+2=1