79. How many four-digit numbers are there in which no two adjacent digits are the same?
79. The first digit can be chosen in nine ways (zero cannot be taken). Each subsequent digit can also be chosen in nine ways, as the digit used in the previous place cannot be taken. Finally, we get: $9 \cdot 9 \cdot 9 \cdot 9=6561$