How many 6-digit numbers are there such that-:
a)The digits of each number are all from the set {1,2,3,4,5}
b)any digit that appears in the number appears at least twice ?
(Example: 225252 is valid while 222133 is not)
[weightage 17/100] combinatorics unsolvedcombinatorics