Quote:
Originally Posted by aryan007
How many three-digit numbers are there such that no two adjacent digits of the number are consecutive?
|
Is it 783? I have hardly reached an accurate ans in this short of counting problems

but can tell you how to approach such problems.
first you find out how many three digit numbers are there? it is 900.
now find out how many numbers among them have two or three consecutive digits. then subtract this value from 900. you will get your ans.
My approach to find out how many numbers are there with consecutive digits -
say the first position is occupied by 1 then the second postion by 2 and third position could be occupied in 7ways.
so taotal 9*7 = 63 ways (for ordered pairs like 1,2; 2,3;3,4; etc in 1st and2ndposition).
now say second position is occupied by 1 and third position position by 2
first position can be filled up in 6 ways. such a way if you count you get total 9*6 = 54 ways.
hence total 63+54 = 117 such numbers are there.
so ans = 900 - 117 = 783
not sure how accurate I am