Présentation du problème

Prime Number


Determine whether a number is prime.

medium
Generate Goal Tree Build Plan

Goal Tree Generated by LLM

{
  "children": [
    {
      "children": [
        {
          "children": [],
          "goal": "Check if number is less than 2"
        },
        {
          "children": [],
          "goal": "Identify potential divisors up to the square root of the number"
        }
      ],
      "goal": "Analyze the number\u0027s properties"
    },
    {
      "children": [
        {
          "children": [],
          "goal": "Verify that no divisors were found among the identified candidates"
        }
      ],
      "goal": "Apply primality criteria"
    }
  ],
  "goal": "Determine if a given integer is prime"
}
    

Generated Goals

Mixed goals generated by the LLM (correct + distractors).

  • Identify potential divisors up to the square root of the number
  • Apply primality criteria
  • Check if number is less than 2
  • Study the historical development of primality testing methods
  • Explore the density of primes within large intervals
  • Analyze the behavior of numbers under modular arithmetic
  • Verify that no divisors were found among the identified candidates
  • Analyze the number's properties