{
  "id": "XAT2025-Q60",
  "exam": "XAT",
  "year": 2025,
  "slot": "Full Paper",
  "question_no": 60,
  "section": "Quantitative Ability & Data Interpretation",
  "sub_section": "Number System",
  "topic": "Primes and Co-primes",
  "sub_topic": "GCD",
  "difficulty": "Easy",
  "ideal_time_seconds": 45,
  "set": null,
  "context_text": null,
  "question_text": "Arun selects an integer $x$ from 2 to 40, both inclusive. He notices that the greatest common divisor of $x$ and every other integer from 2 to 40 (both inclusive) is 1. In how many ways could Arun have chosen $x$ ?",
  "question_html": "Arun selects an integer <span class=\"ck-tex\" data-d=\"0\" data-tex=\"x\">$x$</span> from 2 to 40, both inclusive. He notices that the greatest common divisor of <span class=\"ck-tex\" data-d=\"0\" data-tex=\"x\">$x$</span> and every other integer from 2 to 40 (both inclusive) is 1. In how many ways could Arun have chosen <span class=\"ck-tex\" data-d=\"0\" data-tex=\"x\">$x$</span>?",
  "figures": [],
  "figure_description": null,
  "options": [
    {
      "id": "A",
      "text": "1",
      "html": "1"
    },
    {
      "id": "B",
      "text": "8",
      "html": "8"
    },
    {
      "id": "C",
      "text": "4",
      "html": "4"
    },
    {
      "id": "D",
      "text": "0",
      "html": "0"
    },
    {
      "id": "E",
      "text": "12",
      "html": "12"
    }
  ],
  "answer": {
    "key": "C",
    "text": "4"
  },
  "answer_verified": true,
  "solution_text": "1. If $x$ is composite, one of its proper divisors $d$ with $2\\le d<x$ lies in the range and $\\gcd(x,d)=d>1$ . So $x$ must be prime. 2. If a prime $p\\le20$ , then $2p\\le40$ is in the range and $\\gcd(p,2p)=p>1$ . So $p>20$ . 3. Primes between 21 and 40: 23, 29, 31, 37. No other number in the range is a multiple of them, so each works. 4. There are 4 choices. Quick check: $2\\times23=46>40$ , so no other number from 2 to 40 shares a factor with 23, and likewise for 29, 31 and 37. Answer: C) 4",
  "solution_html": "1. If <span class=\"ck-tex\" data-d=\"0\" data-tex=\"x\">$x$</span> is composite, one of its proper divisors <span class=\"ck-tex\" data-d=\"0\" data-tex=\"d\">$d$</span> with <span class=\"ck-tex\" data-d=\"0\" data-tex=\"2\\le d&lt;x\">$2\\le d&lt;x$</span> lies in the range and <span class=\"ck-tex\" data-d=\"0\" data-tex=\"\\gcd(x,d)=d&gt;1\">$\\gcd(x,d)=d&gt;1$</span>. So <span class=\"ck-tex\" data-d=\"0\" data-tex=\"x\">$x$</span> must be prime.<br>2. If a prime <span class=\"ck-tex\" data-d=\"0\" data-tex=\"p\\le20\">$p\\le20$</span>, then <span class=\"ck-tex\" data-d=\"0\" data-tex=\"2p\\le40\">$2p\\le40$</span> is in the range and <span class=\"ck-tex\" data-d=\"0\" data-tex=\"\\gcd(p,2p)=p&gt;1\">$\\gcd(p,2p)=p&gt;1$</span>. So <span class=\"ck-tex\" data-d=\"0\" data-tex=\"p&gt;20\">$p&gt;20$</span>.<br>3. Primes between 21 and 40: 23, 29, 31, 37. No other number in the range is a multiple of them, so each works.<br>4. There are 4 choices.<br>Quick check: <span class=\"ck-tex\" data-d=\"0\" data-tex=\"2\\times23=46&gt;40\">$2\\times23=46&gt;40$</span>, so no other number from 2 to 40 shares a factor with 23, and likewise for 29, 31 and 37.<br>Answer: C) 4",
  "g_strategy": {
    "note": "Cetking™'s famous G Strategy: Sacred Art of Shortcut & Sacred Art of Tukka Shortcut — available after login on cetking.com.",
    "login_url": "https://cetking.com/login/",
    "page_url": "https://cetking.com/xat-2025-q60-arun-selects-an-integer-x-from/#q60"
  },
  "page_url": "https://cetking.com/xat-2025-q60-arun-selects-an-integer-x-from/#q60",
  "json_url": "https://cetking.com/api/xat/q/XAT2025-Q60.json",
  "paper_index_url": "https://cetking.com/api/xat/paper/2025.json",
  "publisher": {
    "name": "Cetking",
    "url": "https://cetking.com"
  }
}