Latest Others Aptitude Question SOLUTION: 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(1010