Percolation of particles on recursive lattices using a nanoscale approach. I. Theoretical foundation at the atomic level.