Book recommendation for beginner I understand this question seems to be off-topic and basic to you. But I want to learn about mathematics, I understand that it depends on many factors, but what I really wanted was the recommendation of some books that could help me — a computer science student. Maybe books like logic, statistics, sets, or any other field you think is important.

That's the point of the question. However, if you can recommend me a book like "how to solve problems", I would appreciate it, because I don't just want to learn math as a device to become a better programmer, I want to learn about this discipline that, for me, is interesting.
 A: I assume you are in your junior year in College as a CS student. Mathematics is very broad, so you can't just want to learn "more math", it's more efficient to know exactly what you want to learn. I would recommend you focus on mastering linear algebra (check out "Linear Algebra with Applications" by Strang and "Linear Algebra Done Right" by Axler) and discrete mathematics (check out "Discrete mathematics and its applications" by Rosen) for now; after you take your mandatory calculus classes I would advise studying introductory analysis to learn how to write proofs (I recommend "Introduction to Real Analysis" by Bartle or "Real Analysis" by Rudin, if you have the time for a more challenging text"). So start with linear algebra and discrete math, that's the heart of everything for a CS major.
A: If you know basic algebra, geometry and trigonometry as taught in schools typically up to age 16, then you could read "Pure Mathematics 1" by Backhouse or "Extending Mathematics 1" by Heard. These books correspond to what used to be called "Additional Mathematics" at Ordinary Level in England. They cover harder algebra, trigonometry and analytic geometry, as well as introducing calculus.
A: Here's a good video on the subject by The Math Sorcerer on YouTube. He goes over different book titles, a little bit about what types of thing you can learn from them, and a little bit on why they are his recommendation.
Link here: https://youtu.be/pTnEG_WGd2Q
