Same Digit Consecutively

How many distinct positive integers are there of 5 5 digits in which no two consecutive digits are the same?

Assumption :

  • The leftmost digit of a 5 5 -digit number is non-zero.


The answer is 59049.

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.

1 solution

Kenny O.
Jan 13, 2017

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


0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...