This.
There's always more you might want to learn, but when people talk about these basics, it's really just being super focused in 4 or so classes, not a whole ivy league undergrad curriculum in math.
probability & stats, multivariable calculus, and linear algebra will take you a long way.