\Large{\sqrt[3]{Q} = \text{?}}
Q
\sqrt[3]{Q}
is the number that, when multiplied by itself three times, equals Q
.
First break down Q
into its prime factorization and look for factors that appear three times.
Let's draw a factor tree.
So the prime factorization of Q
is PRIMES.join( "\\times " )
.
Notice that we can rearrange the factors like so:
Q = PRIMES.join(" \\times ") =
MULTIPLES.join(" \\times ") \times NOT_CUBE_FACTORS.join("\\times ")
So \sqrt[3]{Q} =
ROOTS.join(" \\times ") \times \sqrt[3]{NOT_CUBE_FACTORS.join("\\times ")}
\sqrt[3]{Q} =
CUBE_FACTORS.join("\\times ") \times \sqrt[3]{NOT_CUBE_FACTORS.join("\\times ")}
\sqrt[3]{Q} = CUBE \sqrt[3]{NOT_CUBE}