 What's up guys, Mike, the coder here. And today I was looking through online. What are the best books for math in competitive programming? And I was just looking through the competitive programming topics for math, the math needed necessary in competitive programming. And then I realized a lot of the competitive programming is like basic number theory and basic probability. And then it's basic combinatorics, right? So when I was wondering, like, what is like the best book that helps you in these topics? And this isn't just for competitive programming. This isn't computer science in general. And this is a book that I found. It's called Concrete Mathematics for Foundations in Computer Science by Leonard Elier, I think. No, no, no, it's by Donald E. Knuth, right? And Ronald L. Graham. And this book is actually really good for not just in competitive programming, but also computer science. And the main reason why is because just the topics in this book are very correlated with competitive programming. So if you look at the topics in this book, the starting topics are like recurrence problems, which is essentially these are exactly pretty much the exactly the same as the algorithms in competitive programming, Tower of Hanoi, like that's actually a thing in competitive programming lines in the plane. That's also a thing in competitive programming. And then the Joseph problem. I don't know what that is, but that is a thing. And then that's just the first chapter. There's also like sums where you go over like how to solve recurrence relations, which is similar to doing recursion and also doing like just doing, yeah, doing recursion, solving recurrence relations and writing for loops is very similar to sums. And then there's also it goes over a number theory, which is like the basics of number theory, which is also part of competitive programming. And then you have something like binomial coefficients, which is like something else. But then after that, they have like generating functions. And this is a thing also in competitive programming, like generating functions is a thing to like write a function that, you know, it helps you generate like a certain like permutation or something. And that's actually a thing in competitive programming. And then it ends it with discrete probability, which is basically the parts of competitive program that are necessary, that, you know, such as doing like variants mean expected value in flipping coins. So essentially, is this book, I think this book is actually pretty good as a reference for competitive program for math. So the math needed in my competitive programming, it's not that much, I would say, honestly, it's whatever book that really like resonates with you, like you technically don't need a book for math for competitive programming, if you're just going to like look up theorems online by yourself, if you have something that you don't understand. But I personally think that this is actually a pretty good book, concrete mathematics, a foundation for computer science. So I think, I think the book title, I think the actual like the actual cover page is actually like a sum. So if we go here, yeah, it's actually a sum here. Yeah, so the title page looks something like this. And I think this is actually a pretty good book, just from looking at the PDF, you technically don't need to buy it. But this is not like sponsored, this video is not sponsored by them at all. This is what I think why I think this is good as like the best book for competitive programming. But to be honest, it's whatever book that resonates with you, whatever book that motivates you to read. There isn't really like a best book for everyone. But this is like, this is a book that I saw like that I thought it was pretty, the topics correlate the best in competitive programming. But yeah, I hope you guys enjoyed this video. You could go on this book just read some topics through it and do some of the problems. But yeah, essentially, like all you need to know is like, essentially, all you need to know is just, you know, probably number of the first chapter, and then second chapter, you could probably skip the third, go to the fourth chapter, seventh and eighth, right? That's pretty pretty much the all you have to know from these are the topics you have to know. But yeah, I hope you guys enjoyed this video. This is just like a video on what I think is the best book for computer competitive programming, but also computer science. Yeah, write a comment, subscribe, I'll check you guys later. Peace.