Présentation du problème

Fibonacci


Display the first n terms of the Fibonacci sequence.

medium
Generate Goal Tree Build Plan

Goal Tree Generated by LLM

{
  "children": [
    {
      "children": [
        {
          "children": [],
          "goal": "Identify the recurrence relation for Fibonacci numbers"
        },
        {
          "children": [],
          "goal": "Establish the base cases for the sequence"
        }
      ],
      "goal": "Determine the sequence generation strategy"
    },
    {
      "children": [
        {
          "children": [],
          "goal": "Decide the format and order for displaying the terms"
        }
      ],
      "goal": "Plan the output presentation"
    }
  ],
  "goal": "Display the first n terms of the Fibonacci sequence"
}
    

Generated Goals

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

  • Identify the recurrence relation for Fibonacci numbers
  • Establish the base cases for the sequence
  • Decide the format and order for displaying the terms
  • Determine the growth rate of the Fibonacci sequence
  • Analyze the time complexity of generating the sequence
  • Plan the output presentation
  • Determine the sequence generation strategy
  • Explore the relationship between Fibonacci numbers and the golden ratio