How do you find the value of n in this example

3.8k Views Asked by At

$$n^{n-2} = 16$$

I know $n = 4$ through trial and error but how do you find $n$ in a conventional manner?

I'm basically trying to solve how many nodes are in a tree that has $16$ spanning trees which through trial and error and using the right formulas, it equates to $5$.

2

There are 2 best solutions below

4
On

$n=3$ is not a solution. $n=4$ is solution. If $n\ge 5$, then $n^{n-2} \ge n^{5-2}=n^3 \ge 5^3>16$, so, $n=4$ is the only solution.

0
On

And I was thinking .2121 was the second solution.

enter image description here

Although 4 is fine, too.