There is this practice problem "How many students are in a class if we can pick 3 delegates in 6545 ways?" I've tried solving this by using the permutations formula but I got left with something that looks like a cubic equation and we didn't even study those yet. So I probably got something wrong.

You have ${n \choose 3} = \frac{n(n-1)(n-2)}{6} = 6545$, so $n(n-1)(n-2) = 39270$. The solution is an integer, so just try a few values of $n$. You quickly find that $n = 35$ works.
You could also factorize $39270 = 5 \cdot 6 \cdot 7 \cdot 11 \cdot 17$ and try some divisors. Clearly it can't be any of the prime divisors, so you try multiples. $5 \cdot 6 = 30$ doesn't work, so you try $5 \cdot 7 = 35$, which works. I doubt factorizing will save you time, but it is a little nicer than brute force.