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": "Identify potential divisors up to sqrt(n)"
        }
      ],
      "goal": "Examine divisibility characteristics"
    },
    {
      "children": [
        {
          "children": [],
          "goal": "Check for divisibility by identified divisors"
        }
      ],
      "goal": "Apply primality test logic"
    },
    {
      "children": [
        {
          "children": [],
          "goal": "Ensure no divisors found"
        }
      ],
      "goal": "Confirm primality status"
    }
  ],
  "goal": "Determine whether a number is prime"
}
    

Generated Goals

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

  • Design a system to generate large prime numbers for cryptographic applications.
  • Confirm primality status
  • Ensure no divisors found
  • Explore the relationship between prime numbers and the Riemann zeta function.
  • Check for divisibility by identified divisors
  • Investigate the patterns of prime gaps in the sequence of natural numbers.
  • Examine divisibility characteristics
  • Identify potential divisors up to sqrt(n)
  • Apply primality test logic