1-2 of 2 Books
Introduction to automata theory, languages, and computation
By John E. Hopcroft,Jeffrey D. Ullman,Rajeev Motwani
A new kind of science
By Stephen Wolfram