How many 4-digit numbers are there where any two consecutive digits are different?
This question was asked before: https://web2.0calc.com/questions/help_12137