I dont think tarin has missed any case in the solution
even i got the ans 1405
@priyesh
nos in which two nos. occur twice & two other nos.( amounts to 5400)
there are no other 2 nos. because they have to be the same (read ques)
nos. in which one digit occurs twice & four other nos.(amounts to 1800)
again there are no 4 other nos. each no has to appear 2 or more times