Mathematics for Programmers [pdf]
In my opinion, the only type of mathematics that is useful to ALL programmers is discrete math. This is applied math that barely resembles the kind of math that you learned in high school, but it’s easy to see how these thoughts lead to the creation of computers.Other types of math are relevant depending on what you’re interested in, but I think students should learn discrete math before diving into writing any serious code.