User blog:Ubersketch/Some graph related functions?

Not sure if these actually work but here goes nothing.

First is the (simple) sub(n)-ic functions. (graphs with at most, valences of n)

Second is the PTREE(n) function, which uses pseudotrees instead of trees in it's definitions.