Instead of computing the two sums separately, combine them into a single term-by-term sum first.
We want \(\sum_{k=1}^{20}(k^3-k^2)=\sum_{k=1}^{20}k^2(k-1)\).
Writing this out: \(0^2\times0+\) actually starting cleanly, note \(k^2(k-1)\) for \(k=1\) gives \(1\times0=0\), so the first real contribution starts at \(k=2\). Rather than summing term by term, it is simpler to keep the two closed-form results and subtract, but let's verify the final number using small-scale sums to build confidence in the formulas, then scale up.
For \(n=3\): sum of cubes \(=1+8+27=36=(3\times4/2)^2=6^2=36\) checks out; sum of squares \(=1+4+9=14=3\times4\times7/6=84/6=14\) checks out. Both formulas are verified on a small case.
Now applying them at \(n=20\): sum of cubes \(=(210)^2=44100\), sum of squares \(=\dfrac{20\times21\times41}{6}=2870\).
Difference \(=44100-2870=41230\).\[\boxed{41230}\]