Here's an oversimplified idea: Each page has some value. New indexed unique page. Values add up when pages link to other pages. That's pretty much it. There's a math-related book about Pagerank on Amazon, but I doubt it would be too helpful for anyones SEO efforts.