Don't count

How many 10-digit numbers can be made with odd digits so that no two consecutive digits are same?

If answer is in form A × 2 B A×2^{B} where A A and B B are positive integers and also A A is a prime number, find A + B A+B .


The answer is 23.

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

Maria Kozlowska
Oct 16, 2016

There are 5 odd digits : 1 , 3 , 5 , 7 , 9 1,3,5,7,9 . First digit of the number can be any of the 5 digits, next one can be any of the 5 digits but the first one: 4 digits, next one any of the 4 digits etc. 5 4 9 = 5 2 18 A = 5 , B = 18 , A + B = 23 5 * 4^9 = 5 * 2^{18} \Rightarrow A=5, B=18, A+B=\boxed{23}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...