Pascal triangles and PathSum