Let $S$ be the set of integers between 1 and $2^{50}$ whose binary expansions have exactly two 1's. If a number is chosen at random from $S,$ the probability that it is divisible by 11 is $p/q,$ where $p$ and $q$ are relatively prime positive integers. Find $p+q.$
← Back to Problem 519