Binary is FUN!
Source:
November 17, 2005
probabilitymodular arithmeticnumber theorygreatest common divisorrelatively prime
Problem Statement
Let be the set of integers between and whose binary expansions have exactly two 's. If a number is chosen at random from , the probability that it is divisible by is , where and are relatively prime positive integers. Find .