Functions useful for sandpile-type problems, for example green's functions.