At Most Two Different Digits
Difficulty: Easy · Topics: Discrete Mathematics, Combinatorics, Counting Principle
A=\1,2,3,4,5\
Three-digit numbers are written with elements of A (digits may repeat). In how many of them are at most two different elements of A used?