"concrete mathematics - a foundation for computer science" - читать интересную книгу автора (Ronald L. Graham, Donald Knuth, Oren Patashnik)