MathDB
Binary is FUN!

Source:

November 17, 2005
probabilitymodular arithmeticnumber theorygreatest common divisorrelatively prime

Problem Statement

Let SS be the set of integers between 11 and 2402^{40} whose binary expansions have exactly two 11's. If a number is chosen at random from SS, the probability that it is divisible by 99 is p/qp/q, where pp and qq are relatively prime positive integers. Find p+qp+q.