Count partially directed self-avoiding walks using north, east and west steps. Within one horizontal level, a self-avoiding walk must move consistently east or consistently west. It can change horizontal direction only after a north step. Conversely, these rules guarantee self-avoidance: every visited horizontal level is new, and its horizontal run is monotone.
Let count these walks, including . A horizontal run has generating function
Every walk decomposes uniquely into an initial horizontal run followed by zero or more pairs consisting of a north step and a horizontal run. Therefore the generating function is
Comparing coefficients yields , , and for . Solving this linear recurrence relation gives
These are a subset of all self-avoiding walks, so and
Allowing either horizontal direction at successive heights gives the strict gain over the north-east-only family.