How many distinct positive integers are there of digits in which no two consecutive digits are the same?
Assumption :
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
First digit:
You can use any digit except 0: 9 possible digits
Second digit:
You can use any digit except for the first digit: 9 possible digits
Third digit:
You can use any digit except for the second digit: 9 possible digits
Fourth digit:
You can use any digit except for the third digit: 9 possible digits
Fifth digit:
You can use any digit except for the fifth digit: 9 possible digits
9* 9* 9* 9* 9=59049