{"status": "success", "data": {"description_md": "Let $S$ be the set of integers between $1$ and $2^{40}$ whose binary expansions have exactly two $1$'s. If a number is chosen at random from $S$, the probability that it is divisible by $9$ is $p/q$, where $p$ and $q$ are relatively prime positive integers. Find $p+q$.\n___\nLeading zeroes must be inputted, so if your answer is `34`, then input `034`. Full credit goes to [MAA](https://maa.org/) for authoring these problems. These problems were taken on the [AOPS](https://artofproblemsolving.com/) website.", "description_html": "<p>Let <span class=\"katex--inline\">S</span> be the set of integers between <span class=\"katex--inline\">1</span> and <span class=\"katex--inline\">2^{40}</span> whose binary expansions have exactly two <span class=\"katex--inline\">1</span>'s. If a number is chosen at random from <span class=\"katex--inline\">S</span>, the probability that it is divisible by <span class=\"katex--inline\">9</span> is <span class=\"katex--inline\">p/q</span>, where <span class=\"katex--inline\">p</span> and <span class=\"katex--inline\">q</span> are relatively prime positive integers. Find <span class=\"katex--inline\">p+q</span>.</p>&#10;<hr><p>Leading zeroes must be inputted, so if your answer is <code>34</code>, then input <code>034</code>. Full credit goes to <a href=\"https://maa.org/\">MAA</a> for authoring these problems. These problems were taken on the <a href=\"https://artofproblemsolving.com/\">AOPS</a> website.</p>", "hints_md": "", "hints_html": "", "editorial_md": "", "editorial_html": "", "flag_hint": "", "point_value": 5, "problem_name": "2004 AIME II Problem 10", "can_next": true, "can_prev": true, "nxt": "/problem/04_aime_II_p11", "prev": "/problem/04_aime_II_p09"}}