Programming has nothing much to do with math. It is primarily about communication. It's about us communicating with customers and us communicating with the machine. Programming is a language skill, not a mathematical one.
Consequently, I get tired of people claiming that programming has anything to do with math. Beyond a little set theory and statistics, I've never used any real math in my decades of programming work. Logic is a subdiscipline of rhetoric, not mathematics. Analytical thinking (and problem solving) is part of almost every human activity, from carpentry to oil painting. Math and programming both use those skills, but so do a million other disciplines.
Some programs implement problems in mathematical domains, but in those cases, the math is part of the domain, not the programming process. Some programs involve dating profiles, but that doesn't mean that dating profiles are an integral part of the programming process.
I think this false equivalence dates back to the very early days of computing, when computers were used almost entirely to solve mathematical problems. In the present, mathematical problems are only a tiny fraction of the problems we solve.
Of course, computer science, which is that branch of mathematics concerned with the analysis of computer programs and algorithms, uses some math. (Though I never used the required 1.5 years of calculus and differential equations in a single CS class.) I'm talking about programming, not computer science, however.
So, returning to my original claim, if you want to be a good programmer, focus on developing communication skills. Math is irrelevant to the vast majority of us.