In analogy to the
square root of
x, one can calculate the heptagonal root of
x, meaning the number of terms in the sequence up to and including
x. The heptagonal root of
x is given by the formula :n = \frac{\sqrt{40x + 9} + 3}{10}, which is obtained by using the
quadratic formula to solve x = \frac{5n^2 - 3n}{2} for its unique positive root
n. ==References==