Others Maths Puzzle

For positive integers n, denote by D(n) the number of pairs of di erent adjacent digits in the binary (base two) representation of n. For example, D(3) = D(112) = 0, D(21) = D(101012) = 4, and D(97) = D(11000012) = 2. For how many positive integers n less than or equal to 97 does D(n) = 2? (A) 16 (B) 20 (C) 26 (D) 30 (E) 35

Read Solution (Total 0)

Others Other Question

What is the amount of equal instalment, if a sum of Rs.1428 due 2 years hence has to be completely repaid in 2 equal annual instalments started next year.
a)700
b)800
c)650
d)cannot be determined
Two canoe riders must be selected from each of the two groups of campers. One group consists of three men and one woman, and the other group consists of two women and one man. What is the probability that two women and two men will be selected?
a) 1/6 b) 1/4 c) 2/7 d) 1/2