What kind of math homework? Word problems or just arithmetic? By 17, I think I was taught algebra, geometry, and calculus.
It would be pretty simple to create a web app that produces printable random arithmetic problems (with optional answer keys) with levers for difficulty.
Other types of problems would be harder.