Topological organic chemistry. 4. Graph theory, matrix permanents, and topological indices of alkanes