I'm trying to solve a specific question and I've reached an answer which I believe is incorrect.
Given $|A| = 7$ and $|B| = 10$, how many onto functions are there from B to A?
So, my attempt: $\frac{10!}{3!}$ options for the first $7$ items. the next $3$ items are "free" - the function is onto, so $\frac{10!}{3!} * 10^3.$ Now, the "free" items can be anywhere, and this is my issue - do i multiply by $3^{10}$ or something else? Thank you!