I am attempting to solve Project Euler prob. 204 by hand, and I decided that this method should help a lot.
I have the following grid:

The numbers indicate the total number of paths from a node at the base to all the nodes on the top. Conditions below apply.
The width and height can go up to infinity. A node can only connect to one that is above its row, and that is either directly above or anywhere to the right of the node (If it was not understood by the first restriction, a node cannot connect to one that is directly to the right. Must be 1 above.).
Is there a formula that can show the number of paths through the grid above, with any given width and height? If so, please explain.