Blazing goIITian
(1) assuming that no 2 consecutive digit are same , the no. of n digit no. is
ans=
n!
9
9n
n9