The mathematical background assumed here is the content of the first couple weeks of the first upper-level course in an undergraduate mathematics degree. It really is "relatively little mathematical background".
That said, I second the recommendation of "Algebra: Chapter 0".
That said, I second the recommendation of "Algebra: Chapter 0".