Calculate the greatest common divisor (GCD) of two numbers.
medium
{
"children": [
{
"children": [
{
"children": [],
"goal": "Identify shared prime factors"
}
],
"goal": "Examine the relationship between the two integers"
},
{
"children": [
{
"children": [],
"goal": "Select the largest factor common to both integers"
}
],
"goal": "Construct a method to isolate the greatest common divisor"
}
],
"goal": "Determine the greatest common divisor of two given integers"
}
Mixed goals generated by the LLM (correct + distractors).